caddy: add volume for TLS certs and other caddy data
This commit is contained in:
parent
52fb611275
commit
1cfa57135d
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue