summaryrefslogtreecommitdiff
path: root/playbooks/roles/mmt/templates/docker-compose.yml.j2
blob: 40036cbe1bad1b2d0dfd7408e863301db5e398c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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