use postgres:17-alpine docker image

clean up db environment keys
This commit is contained in:
dhax 2025-03-04 21:23:17 +01:00
parent 8c6fe34dc5
commit dde0d727cb

View file

@ -10,10 +10,7 @@ services:
LOG_LEVEL: debug LOG_LEVEL: debug
LOG_TEXTLOGGING: "true" LOG_TEXTLOGGING: "true"
#PORT: 3000 #PORT: 3000
DB_ADDR: postgres:5432 DB_DSN: postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable
#DB_USER: postgres
#DB_PASSWORD: postgres
#DB_DATABASE: postgres
#AUTH_JWT_EXPIRY: 1h #AUTH_JWT_EXPIRY: 1h
#AUTH_JWT_REFRESH_EXPIRY: 72h #AUTH_JWT_REFRESH_EXPIRY: 72h
#AUTH_JWT_SECRET: my secret #AUTH_JWT_SECRET: my secret
@ -27,7 +24,7 @@ services:
ENABLE_CORS: "true" ENABLE_CORS: "true"
postgres: postgres:
image: postgres:16 image: postgres:17-alpine
restart: unless-stopped restart: unless-stopped
ports: ports:
- 5432:5432 - 5432:5432