uptime-kuma: persist caddy data and config

This commit is contained in:
Steffen Lange 2022-09-17 21:13:50 +00:00
parent 531bcce70c
commit a327ee6a5a

View file

@ -1,5 +1,9 @@
version: '3' version: '3'
volumes:
data:
config:
services: services:
uptime-kuma: uptime-kuma:
container_name: uptime-kuma container_name: uptime-kuma
@ -16,6 +20,8 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro - ./Caddyfile:/etc/caddy/Caddyfile:ro
- data:/data
- config:/config
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443