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`.
This commit is contained in:
Nate Barbettini 2025-01-24 16:40:33 -08:00 committed by GitHub
parent aa0cd02fe9
commit 4b5ce8d321
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -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"