Skip to content

AB#4106 Fix: serve Refinery Studio over HTTPS in Docker - #4

Merged
reikla merged 1 commit into
mainfrom
dev/int64/refinery-studio-https-docker
Jun 9, 2026
Merged

AB#4106 Fix: serve Refinery Studio over HTTPS in Docker#4
reikla merged 1 commit into
mainfrom
dev/int64/refinery-studio-https-docker

Conversation

@ArkadiuszPabian

Copy link
Copy Markdown
Contributor

AB#4106 — Refinery Studio does not work inside Docker

Two coordinated fixes so the dockerized Refinery Studio loads its configuration and authenticates.

Changes (scripts/octo-mesh/docker-compose.yml)

  • Port 5011:805011:443 — the studio image serves HTTPS once the mounted localhost_cert.pem is detected.
  • + OCTO_IDENTITY__RefineryStudioUrl=https://localhost:5011 — the identity service seeds the octo-data-refinery-studio client's RedirectUris and AllowedCorsOrigins from this value on startup. This is what lets the browser's cross-origin GET https://localhost:5005/octosystem/_configuration succeed (the admin panel's CORS allow-list is built from clients' AllowedCorsOrigins) and makes the OIDC redirect URI match.

ADMIN_PANEL_URI already correctly points at the admin panel (:5005), which serves the config JSON.

Dependency

The HTTPS behaviour comes from the studio image built by the companion PR: meshmakers/octo-frontend-refinery-studio#22. A new official octo-mesh-refinery-studio image (built from that branch) is required before this compose serves HTTPS locally — the current published image is HTTP-only.

🤖 Generated with Claude Code

- Map the published port to the container's TLS port (5011:443); the studio
  image now serves HTTPS when the mounted localhost_cert.pem is present.
- Set OCTO_IDENTITY__RefineryStudioUrl=https://localhost:5011 so the identity
  service seeds the refinery-studio client's redirect URI and AllowedCorsOrigins
  with the studio's actual HTTPS origin, allowing the cross-origin
  /octosystem/_configuration fetch and OIDC login to succeed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 8, 2026 12:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the local octo-mesh Docker Compose setup so the Refinery Studio container is served over HTTPS and the identity service can seed the correct Studio URL for OIDC redirect/CORS configuration.

Changes:

  • Add OCTO_IDENTITY__RefineryStudioUrl=https://localhost:5011 to the identity service environment.
  • Switch the Refinery Studio port mapping from 5011:80 to 5011:443 to align with HTTPS serving behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ArkadiuszPabian
ArkadiuszPabian requested a review from reikla June 8, 2026 12:42
@reikla
reikla merged commit 3c1d1bf into main Jun 9, 2026
1 check passed
@reikla
reikla deleted the dev/int64/refinery-studio-https-docker branch June 9, 2026 08:52
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.

3 participants