File size: 798 Bytes
7e2b8df | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | version: '3.8'
services:
autoseo-engine:
build: .
container_name: autoseo-engine
ports:
- "8000:8000"
volumes:
- ./data:/app/data
- ./logs:/app/logs
- ./config:/app/config
- ./.env:/app/.env
environment:
- PYTHONPATH=/app
restart: unless-stopped
networks:
- autoseo-network
# Optional: Add a database service if needed
postgres:
image: postgres:15-alpine
container_name: autoseo-postgres
environment:
POSTGRES_DB: autoseo_db
POSTGRES_USER: autoseo_user
POSTGRES_PASSWORD: autoseo_password
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
networks:
- autoseo-network
networks:
autoseo-network:
driver: bridge
volumes:
postgres_data: |