Created
October 5, 2024 11:55
-
-
Save arsalanses/bb4e24bf259e0e46ef4ca20d53d1558b to your computer and use it in GitHub Desktop.
caddy + healthchecks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
caddy: | |
image: caddy:2.6.4 | |
restart: unless-stopped | |
command: caddy reverse-proxy --from https://hc.monkeyseemonkeydo.lv:443 --to http://web:8000 | |
ports: | |
- 80:80 | |
- 443:443 | |
volumes: | |
- caddy:/data | |
depends_on: | |
- web | |
web: | |
image: healthchecks/healthchecks:v2.8.1 | |
restart: unless-stopped | |
environment: | |
- ALLOWED_HOSTS=hc.monkeyseemonkeydo.lv | |
- DB_NAME=/tmp/hc.sqlite | |
- SITE_ROOT=https://hc.monkeyseemonkeydo.lv | |
volumes: | |
caddy: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment