-
Notifications
You must be signed in to change notification settings - Fork 1
Deployment
Sugers edited this page Jun 24, 2026
·
1 revision
# docker-compose.yml in the repository root
services:
mysql:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
MYSQL_DATABASE: ${DB_NAME}
ports:
- "3307:3306"
volumes:
- mysql_data:/var/lib/mysql
api:
build: ./backend
environment:
DB_HOST: mysql
DB_PORT: 3306
ports:
- "8000:8000"
depends_on:
mysql:
condition: service_healthy
web:
build: ./frontend
ports:
- "80:80"
depends_on:
- apidocker compose up -d --build- Use a reverse proxy (Nginx) with HTTPS
- Set strong
JWT_SECRETandENCRYPTION_KEY - Configure SMTP for notifications
- Set
CORS_ORIGINSto your domain - Regular database backups
- Monitor logs via
./mill logs