Skip to content

Commit 598a990

Browse files
committed
feat: upgrade PostgreSQL image to version 17 and adjust port configuration
1 parent 11e98ce commit 598a990

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ version: "3.8"
33
services:
44
# PostgreSQL Database
55
postgres:
6-
image: postgres:16-alpine
6+
image: postgres:17-alpine
77
container_name: hushnet-postgres
88
restart: unless-stopped
99
environment:
1010
POSTGRES_USER: ${POSTGRES_USER:-postgres}
1111
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-dev}
1212
POSTGRES_DB: ${POSTGRES_DB:-e2ee}
13-
ports:
14-
- "${POSTGRES_PORT:-5432}:5432"
13+
expose:
14+
- "5432"
1515
volumes:
1616
- postgres_data:/var/lib/postgresql/data
1717
- ./sql_models/seed.sql:/docker-entrypoint-initdb.d/seed.sql

0 commit comments

Comments
 (0)