summaryrefslogtreecommitdiff
path: root/roles/phoneof/templates/docker-compose.yml.j2
blob: ca17e856260507f02096e94b6d3fd9b08ba94993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version: "3"

services:
  api:
    restart: always
    image: git.simponic.xyz/simponic/phoneof
    healthcheck:
      test: ["CMD", "wget", "--spider", "http://localhost:8080/api/health"]
      interval: 5s
      timeout: 10s
      retries: 5
    env_file: .env
    volumes:
      - ./db:/app/db
      - ./templates:/app/templates
      - ./static:/app/static
    ports:
      - "127.0.0.1:19191:8080"