From d7e35d2dd12ac43df2b052e010288cfca3f91c6e Mon Sep 17 00:00:00 2001 From: mo8it Date: Thu, 21 Sep 2023 01:10:33 +0200 Subject: [PATCH] Upgrade Postgres for Oxitraffic --- containers/oxitraffic.fish | 5 ++--- containers/oxitraffic_corrode_dev.fish | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/containers/oxitraffic.fish b/containers/oxitraffic.fish index 3c1c65d..0eb7174 100755 --- a/containers/oxitraffic.fish +++ b/containers/oxitraffic.fish @@ -6,18 +6,17 @@ set -l container_volumes_dir ~/volumes/$container_name buildah build -t $container_name:latest ~/code/oxitraffic set -l db_container_name oxitraffic-db -set -l db_container_volumes_dir $container_volumes_dir/db set -l db_env_file $container_volumes_dir/.postgres.env podman-default-create \ $db_container_name \ --network traefik \ - -v $db_container_volumes_dir:/var/lib/postgresql/data:Z \ + -v $container_volumes_dir/db:/var/lib/postgresql/data:Z \ -e TZ=Europe/Berlin \ -e PGTZ=Europe/Berlin \ --env-file $db_env_file \ --label "io.containers.autoupdate=registry" \ - docker.io/library/postgres:15-alpine + docker.io/library/postgres:16-alpine podman-default-create \ $container_name \ diff --git a/containers/oxitraffic_corrode_dev.fish b/containers/oxitraffic_corrode_dev.fish index 66a953c..a964fa4 100755 --- a/containers/oxitraffic_corrode_dev.fish +++ b/containers/oxitraffic_corrode_dev.fish @@ -6,18 +6,17 @@ set -l container_volumes_dir ~/volumes/$container_name buildah build -t $container_name:latest ~/code/oxitraffic set -l db_container_name oxitraffic-corrode-dev-db -set -l db_container_volumes_dir $container_volumes_dir/db set -l db_env_file $container_volumes_dir/.postgres.env podman-default-create \ $db_container_name \ --network traefik \ - -v $db_container_volumes_dir:/var/lib/postgresql/data:Z \ + -v $container_volumes_dir/db:/var/lib/postgresql/data:Z \ -e TZ=Europe/Berlin \ -e PGTZ=Europe/Berlin \ --env-file $db_env_file \ --label "io.containers.autoupdate=registry" \ - docker.io/library/postgres:15-alpine + docker.io/library/postgres:16-alpine podman-default-create \ $container_name \