This repository has been archived on 2023-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyNyaaTa/docker-compose.yml
Michel Roux 8eab694d02
Some checks failed
continuous-integration/drone/push Build is failing
Thanks YGG for YggRobot :D
2021-12-07 11:09:45 +01:00

33 lines
446 B
YAML

version: "2.4"
services:
app:
build: .
ports:
- "5000:5000"
entrypoint: python3 run.py
working_dir: /app
depends_on:
- db
- redis
env_file:
- .env.dist
- .env
volumes:
- .:/app
db:
image: mariadb
ports:
- "3306:3306"
env_file:
- .env.dist
- .env
volumes:
- ./.db:/var/lib/mysql
redis:
image: redis
ports:
- "6379:6379"