Skip to content

Commit

Permalink
OZ-671: Fix SSO when deploying alongside Ozone Pro (#31)
Browse files Browse the repository at this point in the history
* OZ-671: Fix SSO when deploying alongside Ozone Pro

* remov uneeded KEYCLOAK_HOSTNAME
  • Loading branch information
enyachoke authored Aug 29, 2024
1 parent 8878b05 commit a678183
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ REDIS_HOST=redis
REDIS_PORT=6379
SUPERSET_CLIENT_SECRET=
SUPERSET_CLIENT_ID=superset
SUPERSET_HOSTNAME=
ANALYTICS_DATASOURCE_NAME=PostgreSQL
ENABLE_OAUTH=false

Expand Down Expand Up @@ -118,4 +119,4 @@ SUPERSET_HOME=
ZOOKEEPER_URL=zookeeper:2181

#Keycloak
KEYCLOAK_HOSTNAME=
KEYCLOAK_HOSTNAME=
12 changes: 11 additions & 1 deletion docker/docker-compose-superset.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
services:

env-substitution:
image: mekomsolutions/env-substitution
networks:
- ozone-analytics
restart: on-failure
environment:
- SUPERSET_PUBLIC_URL=https://${SUPERSET_HOSTNAME}
- KEYCLOAK_URL=https://${KEYCLOAK_HOSTNAME}
- KEYCLOAK_AUTH_SERVER_URL=https://${KEYCLOAK_HOSTNAME}
volumes:
- "${DISTRO_PATH}:/opt/env-substitution/files"
superset:
depends_on:
redis:
Expand Down

0 comments on commit a678183

Please sign in to comment.