Files
computer-playbook/roles/web-app-seaweedfs/meta/volumes.yml
kevinveenbirkenbachandClaude Opus 5 f5bafd377f fix(e2e): skip frontend-less roles in the readiness gate and stack config
seaweedfs disables its frontend on tor nodes by contract, which drops
the filer/master vhosts and leaves nginx.conf unrendered. The readiness
probe still hit the canonical filer domain and died on
TLSV1_UNRECOGNIZED_NAME, and the config mount kept nginx.conf in the
stack file, which docker stack deploy validates and rejects. Both now
carry the same frontend condition the role already renders into its
test env.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-27 23:51:17 +02:00

23 lines
651 B
YAML

---
data:
type: volume
name: seaweedfs_data
mounts:
- service: seaweedfs
target: /data
s3_config:
type: config
source: "{{ [ lookup('container', 'web-app-seaweedfs', 'directories.volumes'), 's3.json' ] | path_join }}"
mode: "0444"
mounts:
- service: seaweedfs
target: /etc/seaweedfs/s3.json
proxy_config:
type: config
source: "{{ [ lookup('container', 'web-app-seaweedfs', 'directories.volumes'), 'nginx.conf' ] | path_join }}"
mode: "0444"
mounts:
- service: proxy
target: /etc/nginx/conf.d/default.conf
when: "{{ lookup('config', 'web-app-seaweedfs', 'services.frontend.enabled') | bool }}"