20 HTTP UIs move to bind: 127.0.0.1 + auth: gated (the daemon owns their external addresses and authenticates every connection); 5 loopback-only backends declare auth: local so the gate keeps its hands off. Protocol ports (LND, bitcoin p2p, electrum, CLN, gitea SSH, Wyoming, mDNS/SSDP) were already declared auth: none with rationales in earlier commits. Inert until the catalog is re-signed: nodes act only on declared fields delivered via the signed catalog, and the catalog overlay overrides these disk manifests everywhere they are installed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
53 lines
1.0 KiB
YAML
53 lines
1.0 KiB
YAML
app:
|
|
id: morphos-server
|
|
name: MorphOS Server
|
|
version: 1.0.0
|
|
description: MorphOS server platform. Decentralized application server.
|
|
|
|
container:
|
|
image: archipelago/morphos-server:1.0.0
|
|
image_signature: cosign://...
|
|
pull_policy: if-not-present
|
|
|
|
dependencies:
|
|
- storage: 5Gi
|
|
|
|
resources:
|
|
cpu_limit: 2
|
|
memory_limit: 2Gi
|
|
disk_limit: 5Gi
|
|
|
|
security:
|
|
capabilities: []
|
|
readonly_root: true
|
|
no_new_privileges: true
|
|
user: 1000
|
|
seccomp_profile: default
|
|
network_policy: isolated
|
|
apparmor_profile: morphos-server
|
|
|
|
ports:
|
|
- host: 8089
|
|
container: 8080
|
|
protocol: tcp # Web UI
|
|
bind: 127.0.0.1
|
|
auth: gated
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/archipelago/morphos-server
|
|
target: /app/data
|
|
options: [rw]
|
|
|
|
environment:
|
|
- MORPHOS_ENV=production
|
|
- MORPHOS_DATA_DIR=/app/data
|
|
|
|
health_check:
|
|
type: http
|
|
endpoint: http://127.0.0.1:8080
|
|
path: /health
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|