diff options
Diffstat (limited to 'template/docker-compose.yml')
-rw-r--r-- | template/docker-compose.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/template/docker-compose.yml b/template/docker-compose.yml new file mode 100644 index 0000000..4832672 --- /dev/null +++ b/template/docker-compose.yml @@ -0,0 +1,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" |