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