email-microservice/docker-compose.yml
2026-01-26 01:36:06 -05:00

18 lines
353 B
YAML

services:
emailer:
build: .
ports:
- "4500:4000"
env_file:
- .env
environment:
- HOST=0.0.0.0
- RUST_LOG=info
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:4000/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s