Michel Roux
0bae69ef2f
All checks were successful
continuous-integration/drone/push Build is passing
27 lines
374 B
YAML
27 lines
374 B
YAML
version: "2.4"
|
|
|
|
services:
|
|
app:
|
|
build: .
|
|
ports:
|
|
- "5000:5000"
|
|
entrypoint: python3 run.py
|
|
working_dir: /app
|
|
depends_on:
|
|
- db
|
|
env_file:
|
|
- .env.dist
|
|
- .env
|
|
volumes:
|
|
- .:/app
|
|
|
|
db:
|
|
image: mariadb
|
|
ports:
|
|
- "3306:3306"
|
|
env_file:
|
|
- .env.dist
|
|
- .env
|
|
volumes:
|
|
- ./.db:/var/lib/mysql
|