Skip to content

Commit

Permalink
feat: add postgres to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
montoyaobeso committed Jun 4, 2024
1 parent 9c78e09 commit 16aae18
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ services:
]
networks:
- app-net

app:
build:
context: .
Expand All @@ -27,6 +26,19 @@ services:
- app-net
volumes:
- ./csv:/csv
postgres:
image: postgres:14-alpine
ports:
- 5432:5432
volumes:
- pgdata:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres

networks:
app-net:
app-net:

volumes:
pgdata:

0 comments on commit 16aae18

Please sign in to comment.