From bff5981482d7978daeb6e849b84d86f46fd3675c Mon Sep 17 00:00:00 2001 From: mo8it Date: Tue, 14 Nov 2023 18:03:55 +0100 Subject: [PATCH] Use the OxiTraffic Docker image --- containers/oxitraffic.fish | 8 ++++---- containers/oxitraffic_corrode_dev.fish | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/containers/oxitraffic.fish b/containers/oxitraffic.fish index efdcc32..5357b17 100755 --- a/containers/oxitraffic.fish +++ b/containers/oxitraffic.fish @@ -3,8 +3,6 @@ set -l container_name oxitraffic 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_env_file $container_volumes_dir/.postgres.env @@ -21,5 +19,7 @@ podman-default-create \ podman-default-create \ $container_name \ --network traefik \ - -v $container_volumes_dir/data:/volumes/data:Z \ - localhost/$container_name:latest + -v $container_volumes_dir/config.toml:/volumes/config.toml:Z,ro \ + -v $container_volumes_dir/logs:/var/log/oxitraffic:Z \ + --label "io.containers.autoupdate=registry" \ + docker.io/mo8it/oxitraffic:latest diff --git a/containers/oxitraffic_corrode_dev.fish b/containers/oxitraffic_corrode_dev.fish index deadde3..dfabc7d 100755 --- a/containers/oxitraffic_corrode_dev.fish +++ b/containers/oxitraffic_corrode_dev.fish @@ -3,8 +3,6 @@ set -l container_name oxitraffic-corrode-dev 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_env_file $container_volumes_dir/.postgres.env @@ -21,5 +19,7 @@ podman-default-create \ podman-default-create \ $container_name \ --network traefik \ - -v $container_volumes_dir/data:/volumes/data:Z \ - localhost/$container_name:latest + -v $container_volumes_dir/config.toml:/volumes/config.toml:Z,ro \ + -v $container_volumes_dir/logs:/var/log/oxitraffic:Z \ + --label "io.containers.autoupdate=registry" \ + docker.io/mo8it/oxitraffic:latest