33 lines
630 B
YAML
33 lines
630 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
backend:
|
|
build: ./backend
|
|
ports:
|
|
- "8000:8000"
|
|
env_file:
|
|
- ./backend/.env
|
|
volumes:
|
|
- ./backend/logs:/app/logs
|
|
restart: unless-stopped
|
|
|
|
celery-worker:
|
|
build: ./backend
|
|
command: celery -A app.core.celery_app worker --loglevel=info
|
|
env_file:
|
|
- ./backend/.env
|
|
restart: unless-stopped
|
|
|
|
celery-beat:
|
|
build: ./backend
|
|
command: celery -A app.core.celery_app beat --loglevel=info
|
|
env_file:
|
|
- ./backend/.env
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
build: ./frontend
|
|
ports:
|
|
- "5173:5173"
|
|
restart: unless-stopped
|