first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
build: ./services/web
|
||||
command: python manage.py run -h 0.0.0.0
|
||||
volumes:
|
||||
- ./services/web/:/usr/src/app/
|
||||
ports:
|
||||
- 5001:5000
|
||||
env_file:
|
||||
- ./.env.dev
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: postgres:13
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data/
|
||||
environment:
|
||||
- POSTGRES_USER=hello_flask
|
||||
- POSTGRES_PASSWORD=hello_flask
|
||||
- POSTGRES_DB=hello_flask_dev
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in New Issue
Block a user