summaryrefslogtreecommitdiff
path: root/roles/whois/templates/docker-compose.yml.j2
blob: 7a15155c0562b8241f436e3628391de7a099b867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: "3"

services:
  api:
    restart: always
    image: git.simponic.xyz/simponic/whois
    healthcheck:
      test: ["CMD", "wget", "--spider", "http://localhost:8080/health"]
      interval: 5s
      timeout: 10s
      retries: 5
    env_file: .env
    volumes:
      - ./db:/app/db
    ports:
      - "127.0.0.1:8467:8080"
  frontend:
    restart: always
    image: git.simponic.xyz/simponic/penguin-new-tab
    healthcheck:
      test: ["CMD", "wget", "--spider", "http://localhost:3000"]
      interval: 5s
      timeout: 10s
      retries: 5
    ports:
      - "127.0.0.1:8466:3000"