docker-compose.yaml
Rama master · réplica de lectura del repositorio original.
services:
app:
build: .
restart: unless-stopped
environment:
BODY_SIZE_LIMIT: 12M
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT:-3306}
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
DB_NAME: ${DB_NAME}
REDIS_URL: ${REDIS_URL}
BOT_RUNNER: ${BOT_RUNNER:-embedded}
MAIL_HOST: ${MAIL_HOST}
MAIL_PORT: ${MAIL_PORT:-587}
MAIL_USERNAME: ${MAIL_USERNAME}
MAIL_PASSWORD: ${MAIL_PASSWORD}
OTEL_EXPORTER_OTLP_ENDPOINT: ${OTEL_EXPORTER_OTLP_ENDPOINT}
OTEL_SERVICE_NAME: ${OTEL_SERVICE_NAME}
expose:
- '80'
healthcheck:
test: ['CMD-SHELL', 'curl -f http://localhost:80 || exit 1']
interval: 30s
timeout: 5s
start_period: 30s
retries: 3
volumes:
- app_data:/app/data
volumes:
app_data:
driver: local