caddy: add volume for TLS certs and other caddy data

pull/2/head
teutat3s 2022-01-16 22:05:31 +01:00
parent 52fb611275
commit 1cfa57135d
Signed by: teutat3s
GPG Key ID: 4FA1D3FA524F22C1
1 changed files with 9 additions and 1 deletions

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"