infra/roles/whois/templates/docker-compose.yml.j2

27 lines
595 B
Plaintext
Raw Normal View History

2025-01-05 12:46:07 -08:00
version: "3"
services:
api:
restart: always
image: git.simponic.xyz/simponic/whois
healthcheck:
2025-01-13 01:42:51 -05:00
test: ["CMD", "wget", "--spider", "http://localhost:8080/health"]
2025-01-05 12:46:07 -08:00
interval: 5s
timeout: 10s
retries: 5
env_file: .env
volumes:
- ./db:/app/db
ports:
2025-01-13 01:42:51 -05:00
- "127.0.0.1:8467:8080"
frontend:
restart: always
image: git.simponic.xyz/simponic/penguin-new-tab
healthcheck:
test: ["CMD", "wget", "--spider", "http://localhost:3000"]
interval: 5s
timeout: 10s
retries: 5
ports:
- "127.0.0.1:8466:3000"