Upgrade PostgreSQL to 16 for Hedgedoc

This commit is contained in:
Mo 2023-11-14 18:10:49 +01:00
parent bff5981482
commit c104e7b1b5

View file

@ -10,6 +10,8 @@ mkdir -p $uploads_dir
set -l db_container_name hedgedoc-postgres set -l db_container_name hedgedoc-postgres
set -l db_container_dir $container_volumes_dir/postgres set -l db_container_dir $container_volumes_dir/postgres
mkdir -p $db_container_dir
podman-default-create \ podman-default-create \
$db_container_name \ $db_container_name \
--network traefik \ --network traefik \
@ -18,7 +20,7 @@ podman-default-create \
-e POSTGRES_USER=hedgedoc \ -e POSTGRES_USER=hedgedoc \
--env-file $container_volumes_dir/postgres.env \ --env-file $container_volumes_dir/postgres.env \
--label "io.containers.autoupdate=registry" \ --label "io.containers.autoupdate=registry" \
docker.io/library/postgres:14 docker.io/library/postgres:16
podman-default-create \ podman-default-create \
$container_name \ $container_name \