miom.space/docker-compose.yml

27 lines
594 B
YAML
Raw Permalink Normal View History

2022-01-16 18:32:04 +00:00
version: "2.4"
services:
website:
2023-02-26 19:21:58 +00:00
image: registry.greenbaum.cloud/pub_solar/miom.space:$DEPLOY_TAG
2022-01-16 18:32:04 +00:00
mem_limit: 128m
network_mode: My-Fabric-Network
ports:
- 80
- 443
volumes:
- caddy_data:/data
2022-01-16 18:32:04 +00:00
labels:
- triton.cns.services=miom-website
- "com.docker.swarm.affinities=[\"com.docker.compose.volume==caddy_data\"]"
volumes:
caddy_data:
# uncomment this after volume creation
external: true
name: miomspace_caddy_data
driver: tritonnfs
driver_opts:
size: "1G"
labels:
- volumename=miomspace_caddy_data