Use the OxiTraffic Docker image

This commit is contained in:
Mo 2023-11-14 18:03:55 +01:00
parent dbeae8b1e3
commit bff5981482
2 changed files with 8 additions and 8 deletions

View file

@ -3,8 +3,6 @@
set -l container_name oxitraffic set -l container_name oxitraffic
set -l container_volumes_dir ~/volumes/$container_name set -l container_volumes_dir ~/volumes/$container_name
buildah build -t $container_name:latest ~/code/oxitraffic; or return 1
set -l db_container_name oxitraffic-db set -l db_container_name oxitraffic-db
set -l db_env_file $container_volumes_dir/.postgres.env set -l db_env_file $container_volumes_dir/.postgres.env
@ -21,5 +19,7 @@ podman-default-create \
podman-default-create \ podman-default-create \
$container_name \ $container_name \
--network traefik \ --network traefik \
-v $container_volumes_dir/data:/volumes/data:Z \ -v $container_volumes_dir/config.toml:/volumes/config.toml:Z,ro \
localhost/$container_name:latest -v $container_volumes_dir/logs:/var/log/oxitraffic:Z \
--label "io.containers.autoupdate=registry" \
docker.io/mo8it/oxitraffic:latest

View file

@ -3,8 +3,6 @@
set -l container_name oxitraffic-corrode-dev set -l container_name oxitraffic-corrode-dev
set -l container_volumes_dir ~/volumes/$container_name set -l container_volumes_dir ~/volumes/$container_name
buildah build -t $container_name:latest ~/code/oxitraffic; or return 1
set -l db_container_name oxitraffic-corrode-dev-db set -l db_container_name oxitraffic-corrode-dev-db
set -l db_env_file $container_volumes_dir/.postgres.env set -l db_env_file $container_volumes_dir/.postgres.env
@ -21,5 +19,7 @@ podman-default-create \
podman-default-create \ podman-default-create \
$container_name \ $container_name \
--network traefik \ --network traefik \
-v $container_volumes_dir/data:/volumes/data:Z \ -v $container_volumes_dir/config.toml:/volumes/config.toml:Z,ro \
localhost/$container_name:latest -v $container_volumes_dir/logs:/var/log/oxitraffic:Z \
--label "io.containers.autoupdate=registry" \
docker.io/mo8it/oxitraffic:latest