From 081978670a553835d503b53b7b91a9b2dbb77080 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 5 Jan 2025 12:46:07 -0800 Subject: add whois --- roles/whois/templates/docker-compose.yml.j2 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 roles/whois/templates/docker-compose.yml.j2 (limited to 'roles/whois/templates/docker-compose.yml.j2') diff --git a/roles/whois/templates/docker-compose.yml.j2 b/roles/whois/templates/docker-compose.yml.j2 new file mode 100644 index 0000000..4832672 --- /dev/null +++ b/roles/whois/templates/docker-compose.yml.j2 @@ -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" -- cgit v1.2.3-70-g09d2