Files
app-api/docker-compose.yml
T

31 lines
805 B
YAML
Raw Normal View History

2026-06-04 19:39:08 +08:00
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: app-api
restart: always
ports:
- "8084:8080"
environment:
- APP_ENV=production
- APP_HOST=0.0.0.0
- APP_PORT=8080
- DATABASE_PASSWORD=${DATABASE_PASSWORD}
- REDIS_PASSWORD=${REDIS_PASSWORD:-eafon123!}
- MEILISEARCH_API_KEY=${MEILISEARCH_API_KEY:-young9#!UJsD219921031}
- ENABLE_PERSIST_TASK=false
2026-06-05 20:15:30 +08:00
- AWS_REGION=eu-central-1
- S3_BUCKET=luxsin-app-bucket
2026-06-04 19:39:08 +08:00
healthcheck:
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://localhost:8080/api/v1/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"