Files
evo-sync/docker-compose.yml

26 lines
565 B
YAML
Raw Permalink Normal View History

version: "3.8"
services:
web:
build:
context: .
dockerfile: Dockerfile.web
ports:
- "8080:8000"
environment:
- DATABASE_URL=mysql+pymysql://${DB_USER}:${DB_PASSWORD}@172.25.0.1:3306/${DB_NAME}
- SECRET_KEY=${SECRET_KEY:-change-me-in-production}
- BASE_URL=${BASE_URL:-http://localhost:8080}
volumes:
- ./web:/app/web
sync:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./evo:/var/www/evo
- ./vk:/var/www/vk
- ./run:/var/www/run
- ./logs:/var/www/logs