diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-05 12:46:07 -0800 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-05 12:46:07 -0800 |
commit | 081978670a553835d503b53b7b91a9b2dbb77080 (patch) | |
tree | 613b1807bd89a1edb7d56084c039e811848f6c8b /roles/whois/templates/docker-compose.yml.j2 | |
parent | 05343066f77cdc7c2e262bfd723ce82574a0d4e1 (diff) | |
download | oldinfra-081978670a553835d503b53b7b91a9b2dbb77080.tar.gz oldinfra-081978670a553835d503b53b7b91a9b2dbb77080.zip |
add whois
Diffstat (limited to 'roles/whois/templates/docker-compose.yml.j2')
-rw-r--r-- | roles/whois/templates/docker-compose.yml.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
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" |