2022-02-03 16:47:32 -05:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
2022-02-03 17:27:25 -05:00
|
|
|
flask:
|
|
|
|
build: ./flask
|
2022-02-03 16:47:32 -05:00
|
|
|
command: python manage.py run -h 0.0.0.0
|
|
|
|
volumes:
|
2022-02-03 17:27:25 -05:00
|
|
|
- ./flask/:/usr/src/app/
|
2022-02-03 16:47:32 -05:00
|
|
|
ports:
|
|
|
|
- 5000:5000
|
|
|
|
env_file:
|
|
|
|
- ./.env.dev
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
db:
|
|
|
|
image: postgres:13-alpine
|
|
|
|
volumes:
|
|
|
|
- postgres_data:/var/lib/postgresql/data/
|
|
|
|
env_file:
|
|
|
|
- ./.env.dev
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
postgres_data:
|