services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: app-api
restart: always
ports:
- "8084:8080"
env_file:
- .env
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"