Files
computer-playbook/roles/web-app-peertube/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

22 lines
318 B
YAML

---
assets:
type: volume
name: peertube_assets
mounts:
- service: peertube
target: /app/client/dist
data:
type: volume
name: peertube_data
mounts:
- service: peertube
target: /data
config:
type: volume
name: peertube_config
mounts:
- service: peertube
target: /config