mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
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>
23 lines
651 B
YAML
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 }}"
|