uptime-kuma: persist caddy data and config
This commit is contained in:
parent
531bcce70c
commit
a327ee6a5a
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue