24 lines
479 B
YAML
24 lines
479 B
YAML
version: "2.4"
|
|
|
|
services:
|
|
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
|
|
- "com.docker.swarm.affinities=[\"volumename==miomspace_caddy_data\"]"
|
|
|
|
volumes:
|
|
caddy_data:
|
|
external: true
|
|
name: miomspace_caddy_data
|
|
driver: tritonnfs
|
|
driver_opts:
|
|
size: "1G"
|