Skip to content

Commit

Permalink
Update db
Browse files Browse the repository at this point in the history
  • Loading branch information
tolyo committed Dec 3, 2024
1 parent 1020a69 commit eda1eca
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
version: "3.4"

volumes:
postgres-storage:
services:
db:
container_name: exchange_db
image: postgres:16.1-alpine
image: postgres:17.2
ports:
- "5432:5432"
- 5432:5432
volumes:
- postgres-storage:/var/lib/postgresql/data
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
Expand All @@ -26,4 +24,4 @@ services:
- ./pkg/conf/dev.env
- ./pkg/conf/docker.env
ports:
- "4000:4000"
- 4000:4000

0 comments on commit eda1eca

Please sign in to comment.