From 4b5ce8d321b0aad2a494a0a0528e3cff67933482 Mon Sep 17 00:00:00 2001 From: Nate Barbettini Date: Fri, 24 Jan 2025 16:40:33 -0800 Subject: [PATCH] Fix dashboard redirect in docker compose (#229) When the Engine is running via `docker compose`, the login redirect for the Dashboard was ending up at `0.0.0.0` instead of `localhost`. --- docker/Dockerfile | 2 +- docker/README.md | 2 +- docker/docker.engine.yaml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 05bce16a..d4c920aa 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,7 +3,7 @@ FROM python:3.10-slim # Define build arguments with default values ARG PORT=8001 ARG HOST=0.0.0.0 -ARG VERSION=${VERSION:-0.1.0} +ARG VERSION=${VERSION:-1.0.1} ARG INSTALL_TOOLKITS=true # Set environment variables using the build arguments diff --git a/docker/README.md b/docker/README.md index f1f0e7e5..eed2337f 100644 --- a/docker/README.md +++ b/docker/README.md @@ -69,7 +69,7 @@ You should receive a response indicating that the engine is healthy: { "status": "healthy" } ``` -You can also view the swagger docs at `http://localhost:9099/swagger/index.html` +Open a browser and navigate to http://localhost:9099/dashboard to view the Arcade dashboard. ## Adding Authentication Providers diff --git a/docker/docker.engine.yaml b/docker/docker.engine.yaml index b34817d1..db8f8701 100644 --- a/docker/docker.engine.yaml +++ b/docker/docker.engine.yaml @@ -171,3 +171,6 @@ auth: provider_id: zoom client_id: ${env:ZOOM_CLIENT_ID} client_secret: ${env:ZOOM_CLIENT_SECRET} + +dashboard: + redirect_uri: "http://localhost:9099/dashboard"