Files
computer-playbook/roles/web-app-opencloud/meta/volumes.yml
kevinveenbirkenbachandClaude Opus 4.8 25f286d2bf feat(swarm): per-service internal ports and entity-named services
Give each reverse-proxied app a swarm-resolvable upstream: add services.<entity>.ports.internal.http to the role metadata and rename the main compose service from the generic 'application' to the entity name, so its short DNS alias on the shared overlay is unique. Thread the service name through compose, vars (*_SERVICE_NAME), volume mounts and the oauth2 origin host. Consolidate the split image/ports blocks in bridgy-fed and postmarks into the entity block.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 19:49:18 +02:00

15 lines
229 B
YAML

---
data:
type: volume
name: opencloud_data
mounts:
- service: opencloud
target: /var/lib/opencloud
config:
type: volume
name: opencloud_config
mounts:
- service: opencloud
target: /etc/opencloud