Phase 4: service registry — index.json + 4 service manifests
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"id": "files",
|
||||
"name": "File Storage",
|
||||
"description": "WebDAV file storage. Mount as a network drive or use the web interface.",
|
||||
"version": "1.0.0",
|
||||
"author": "roof",
|
||||
"image": "bytemark/webdav:latest",
|
||||
"volumes": [{"name": "webdav-data", "mount": "/var/lib/dav"}],
|
||||
"env": [{"key": "AUTH_TYPE", "value": "Basic"}, {"key": "USERNAME", "value": "admin"}, {"key": "PASSWORD", "value": "${WEBDAV_PASSWORD}"}],
|
||||
"caddy_route": {"subdomain": "files", "upstream": "cell-webdav:80"},
|
||||
"dns_entry": {"subdomain": "files"},
|
||||
"iptables_rules": [{"type": "ACCEPT", "dest_ip": "${SERVICE_IP}", "dest_port": 80, "proto": "tcp"}],
|
||||
"container_name": "cell-webdav",
|
||||
"network_ip_var": "WEBDAV_IP",
|
||||
"ports": [80]
|
||||
}
|
||||
Reference in New Issue
Block a user