Browse Source

Merge pull request #9926 from sinanmohd/pin_postgres

chore(docker): pin postgresql to 16.6
pull/9930/head
navi 4 days ago committed by GitHub
parent
commit
d10a04d4c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      docker-compose/1_Auto_Upstall/noco.sh
  2. 2
      docker-compose/2_pg/docker-compose.yml

2
docker-compose/1_Auto_Upstall/noco.sh

@ -609,7 +609,7 @@ EOF
if [ "$CONFIG_POSTGRES_SQLITE" = "P" ]; then if [ "$CONFIG_POSTGRES_SQLITE" = "P" ]; then
cat >>"$compose_file" <<EOF cat >>"$compose_file" <<EOF
db: db:
image: postgres:16.1 image: postgres:16.6
env_file: docker.env env_file: docker.env
volumes: volumes:
- ./postgres:/var/lib/postgresql/data - ./postgres:/var/lib/postgresql/data

2
docker-compose/2_pg/docker-compose.yml

@ -22,7 +22,7 @@ services:
retries: 10 retries: 10
test: "pg_isready -U \"$$POSTGRES_USER\" -d \"$$POSTGRES_DB\"" test: "pg_isready -U \"$$POSTGRES_USER\" -d \"$$POSTGRES_DB\""
timeout: 2s timeout: 2s
image: postgres image: postgres:16.6
restart: always restart: always
volumes: volumes:
- "db_data:/var/lib/postgresql/data" - "db_data:/var/lib/postgresql/data"

Loading…
Cancel
Save