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