Skip to content

Commit

Permalink
Add web service to docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMemberg committed Feb 26, 2024
1 parent 670556b commit 6bab57f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
version: '3'

services:
web:
build: .
volumes:
- ./how2meet:/app/how2meet
ports:
- "8000:8000"
depends_on:
- db
environment:
DB_CONN: postgresql://postgres:password@db:5432/how2meet
networks:
- app-network

db:
image: postgres:latest
environment:
Expand All @@ -14,6 +27,11 @@ services:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- app-network

volumes:
postgres_data:

networks:
app-network:

0 comments on commit 6bab57f

Please sign in to comment.