Upgrade to Postgres 17 and adjust DB access for backup script.

This commit is contained in:
root
2025-02-07 10:28:40 +00:00
parent edf4652212
commit 69502e185b
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ LOG_LEVEL=debug
DB_CONNECTION=pgsql DB_CONNECTION=pgsql
DB_HOST=pgsql DB_HOST=pgsql
DB_PORT=5432 DB_PORT=5432
DB_DATABASE=laravel DB_DATABASE=asu
DB_USERNAME=asu DB_USERNAME=asu
DB_PASSWORD=h8d57T^aFfTk@X DB_PASSWORD=h8d57T^aFfTk@X

View File

@@ -40,7 +40,7 @@ services:
- "traefik.http.services.invoice-asu-secure.loadbalancer.server.port=80" - "traefik.http.services.invoice-asu-secure.loadbalancer.server.port=80"
pgsql: pgsql:
image: postgres:15-alpine image: postgres:17-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- invoice-asu-db:/var/lib/postgresql/data - invoice-asu-db:/var/lib/postgresql/data
@@ -50,6 +50,6 @@ services:
PGPASSWORD: h8d57T^aFfTk@X PGPASSWORD: h8d57T^aFfTk@X
POSTGRES_PASSWORD: h8d57T^aFfTk@X POSTGRES_PASSWORD: h8d57T^aFfTk@X
POSTGRES_USER: asu POSTGRES_USER: asu
POSTGRES_DB: laravel POSTGRES_DB: asu
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U asu"] test: ["CMD-SHELL", "pg_isready -U asu"]