mmt-infra/playbooks/roles/mmt/templates/docker-compose.yml.j2
2024-05-01 01:33:35 -07:00

22 lines
577 B
Django/Jinja

version: "3"
services:
mmt:
restart: always
image: git.simponic.xyz/simponic/mistymountains
healthcheck:
test: ["CMD", "wget", "--spider", "http://localhost:8080/api/health"]
interval: 5s
timeout: 10s
retries: 5
ports:
- "127.0.0.1:8821:3000"
environment:
- HCAPTCHA_SECRET={{ hcaptcha_secret }}
- FROM_EMAIL={{ from_email }}
- SMTP_SERVER={{ smtp_server }}
- SMTP_PASSWORD={{ smtp_password }}
- SMTP_USERNAME={{ smtp_username }}
- FORM_TO_EMAIL={{ form_to_email }}
- SMTP_PORT=465