- Remove MariaDB service from compose (external db assumed) - Change web port to 8080 (from 8000) - Update DATABASE_URL host to localhost (from db service name) - Update BASE_URL to use port 8080 - Remove db_data volume definition Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
26 lines
591 B
YAML
26 lines
591 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.web
|
|
ports:
|
|
- "8080:8000"
|
|
environment:
|
|
- DATABASE_URL=mysql+pymysql://${DB_USER:-evosync}:${DB_PASSWORD:-evosync}@localhost:3306/${DB_NAME:-evosync}
|
|
- 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
|