Add more specific postgres versions

This commit is contained in:
RealStickman 2022-11-20 18:51:22 +01:00
parent 86d6beb608
commit 76304dc561
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ visible: true
-e PGDATA=/var/lib/postgresql/data/pgdata \ -e PGDATA=/var/lib/postgresql/data/pgdata \
-v /mnt/postgres:/var/lib/postgresql/data \ -v /mnt/postgres:/var/lib/postgresql/data \
--pod pod_hedgedoc \ --pod pod_hedgedoc \
-d docker.io/postgres -d docker.io/postgres:14
``` ```
`# podman exec -it hedgedocdb bash` `# podman exec -it hedgedocdb bash`
`# psql -U postgres` `# psql -U postgres`

View File

@ -20,7 +20,7 @@ Create a new network for the database and wikijs
-e POSTGRES_PASSWORD=wikijs \ -e POSTGRES_PASSWORD=wikijs \
-e PGDATA=/var/lib/postgresql/data/pgdata \ -e PGDATA=/var/lib/postgresql/data/pgdata \
-v /mnt/postgres/wikijsdb:/var/lib/postgresql/data \ -v /mnt/postgres/wikijsdb:/var/lib/postgresql/data \
-d docker.io/postgres -d docker.io/postgres:15
``` ```
`# podman exec -it wikijsdb bash` `# podman exec -it wikijsdb bash`