Skip to content

fix: Cannot configure opal-client from /opal/.env correctly - #947

Open
Roshan931 wants to merge 1 commit into
permitio:masterfrom
Roshan931:prilog/fix-error-confi-uses-decouple-s-caller-path-08-21-2026-77b49d
Open

fix: Cannot configure opal-client from /opal/.env correctly#947
Roshan931 wants to merge 1 commit into
permitio:masterfrom
Roshan931:prilog/fix-error-confi-uses-decouple-s-caller-path-08-21-2026-77b49d

Conversation

@Roshan931

Copy link
Copy Markdown

Fixes #516

Root cause

Confi uses decouple's caller-path AutoConfig, so /opal/.env is never found

Changes

  • Replaced decouple's default config with a WorkingDirectoryAutoConfig subclass that resolves .env/settings.ini starting from the process working directory (which is /opal in the official images), added regression tests for env-file loading and env-var precedence, and documented the lookup location.

@netlify

netlify Bot commented Aug 21, 2026

Copy link
Copy Markdown

Deploy Preview for opal-docs ready!

Name Link
🔨 Latest commit 05e068f
🔍 Latest deploy log https://app.netlify.com/projects/opal-docs/deploys/6a888fc41a55f700088d8d53
😎 Deploy Preview https://deploy-preview-947--opal-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot configure opal-client from /opal/.env correctly

1 participant