initial commit
This commit is contained in:
27
compose.yaml
Normal file
27
compose.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
environment:
|
||||
- POSTGRES_USER=zahlenraten
|
||||
- POSTGRES_PASSWORD=CYrcTzCEKyDtq&N0M
|
||||
- POSTGRES_DB=game
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
networks:
|
||||
- backend
|
||||
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "8000:5000"
|
||||
networks:
|
||||
- backend
|
||||
|
||||
networks:
|
||||
backend:
|
||||
|
||||
volumes:
|
||||
pgdata:
|
Reference in New Issue
Block a user