summaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 48326725d0c04b2e461d1d9667f7ed3e045f8a59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
version: "3"

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