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

33 lines
446 B
YAML
Raw Normal View History

2019-11-25 21:52:22 +00:00
version: "2.4"
services:
app:
build: .
ports:
- "5000:5000"
entrypoint: python3 run.py
2019-11-25 21:52:22 +00:00
working_dir: /app
depends_on:
- db
2021-07-10 21:15:06 +00:00
- redis
2019-11-30 22:42:35 +00:00
env_file:
- .env.dist
- .env
2019-11-25 21:52:22 +00:00
volumes:
- .:/app
db:
image: mariadb
ports:
- "3306:3306"
2019-11-30 22:42:35 +00:00
env_file:
- .env.dist
- .env
2019-11-25 21:52:22 +00:00
volumes:
- ./.db:/var/lib/mysql
2020-10-21 20:13:57 +00:00
2021-07-10 07:25:35 +00:00
redis:
image: redis
ports:
- "6379:6379"