I am attempting to deploy OpenCloud via Docker Compose on a Raspberry Pi (DietPi). Despite setting OCIS_URL and OPENCLOUD_URL to the Pi's IP address (https://192.168.0.15:9200), several critical internal endpoints continue to report
localhost.
Steps to Reproduce:
- Run docker run ... init with -e OPENCLOUD_URL=https://192.168.0.15:9200.
- Start container with docker compose up.
- Access https://192.168.0.15:9200/config.json.
- Access https://192.168.0.15:9200/.well-known/openid-configuration.
Expected Behavior:
All URLs in the JSON output should use the IP address 192.168.0.15.
Actual Behavior:
- config.json shows "server": "https://localhost:9200"
- openid-configuration shows "issuer": "https://localhost:9200" and all endpoints pointing to localhost.
- This causes the browser to block background requests (CORS/CSP) and prevents the login screen from loading.
Environment:
- Image: opencloudeu/opencloud-rolling:latest (also tested with environment overrides)
- Host: Raspberry Pi 4 (ARM64) / DietPi
- Docker Compose version: [Your Version]
Additional Troubleshooting performed:
- Tested with network_mode: host (failed, same symptoms).
- Performed a deep clean of the data/ and config/ folders (failed, same symptoms).
- Manually appended the web: block to opencloud.yaml (failed, same symptoms).
It appears the version is defaulting to localhost regardless of the provided environment variables or YAML configuration.
The web GUI shows this error:
Missing or invalid config
Please check if the file config.json exists and is correct.
Also, make sure to check the browser console for more information.
Obviously I verified several times the "config.json" and the web browser console but without any luck.
Final Technical Opinion
OpenCloud is currently optimized for domain names (e.g., cloud.local) or might have some "hard-coded" logic that defaults to localhost when an IP is used?
However, for a self-hosted project, supporting IP-based deployment is critical, and your detailed troubleshooting proves that the current environment variable overrides are not being respected by all microservices.
I tried a "Deep Clean" (deleting data/*) and it still happened. This proves it's not a caching issue.
I am attempting to deploy OpenCloud via Docker Compose on a Raspberry Pi (DietPi). Despite setting OCIS_URL and OPENCLOUD_URL to the Pi's IP address (https://192.168.0.15:9200), several critical internal endpoints continue to report
localhost.
Steps to Reproduce:
Expected Behavior:
All URLs in the JSON output should use the IP address 192.168.0.15.
Actual Behavior:
Environment:
Additional Troubleshooting performed:
It appears the version is defaulting to localhost regardless of the provided environment variables or YAML configuration.
The web GUI shows this error:
Missing or invalid config
Please check if the file config.json exists and is correct.
Also, make sure to check the browser console for more information.
Obviously I verified several times the "config.json" and the web browser console but without any luck.
Final Technical Opinion
OpenCloud is currently optimized for domain names (e.g., cloud.local) or might have some "hard-coded" logic that defaults to localhost when an IP is used?
However, for a self-hosted project, supporting IP-based deployment is critical, and your detailed troubleshooting proves that the current environment variable overrides are not being respected by all microservices.
I tried a "Deep Clean" (deleting data/*) and it still happened. This proves it's not a caching issue.