Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ajeetraina authored and aerabi committed May 25, 2022
1 parent 3ccaa43 commit ede9388
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.2'

services:
web:
build: ./src/urlshortener/
Expand All @@ -15,8 +13,11 @@ services:
db:
image: postgres
volumes:
- ./data/db:/var/lib/postgresql/data
- postgresdb:/var/lib/postgresql/data
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_PASSWORD=postgres

volumes:
postgresdb:

0 comments on commit ede9388

Please sign in to comment.