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" version: "2.4"
services: services:
miom-website: website:
image: hub.greenbaum.cloud/miom.space:$DEPLOY_TAG image: hub.greenbaum.cloud/miom.space:$DEPLOY_TAG
mem_limit: 128m mem_limit: 128m
network_mode: My-Fabric-Network network_mode: My-Fabric-Network
ports: ports:
- 80 - 80
- 443 - 443
volumes:
- caddy_data:/data
labels: labels:
- triton.cns.services=miom-website - triton.cns.services=miom-website
volumes:
caddy_data:
driver: tritonnfs
driver_opts:
size: "1G"