caddy: add volume for TLS certs and other caddy data

This commit is contained in:
teutat3s 2022-01-16 22:05:31 +01:00
parent 52fb611275
commit 1cfa57135d
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -1,12 +1,20 @@
version: "2.4"
services:
miom-website:
website:
image: hub.greenbaum.cloud/miom.space:$DEPLOY_TAG
mem_limit: 128m
network_mode: My-Fabric-Network
ports:
- 80
- 443
volumes:
- caddy_data:/data
labels:
- triton.cns.services=miom-website
volumes:
caddy_data:
driver: tritonnfs
driver_opts:
size: "1G"