File tree Expand file tree Collapse file tree 5 files changed +2
-10
lines changed Expand file tree Collapse file tree 5 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,5 @@ METABASE_JWT_SHARED_SECRET="ffffffffffffffffffffffffffffffffffffffffffffffffffff
3
3
4
4
MB_PORT=4300
5
5
CLIENT_PORT=4400
6
- AUTH_PROVIDER_PORT=4500
7
6
8
7
WATCH="false"
Original file line number Diff line number Diff line change 1
1
# FRONTEND
2
2
CLIENT_PORT = 3100
3
3
VITE_METABASE_INSTANCE_URL = " http://localhost:3000"
4
- VITE_AUTH_PROVIDER_URI = " http://localhost:9090/sso/metabase"
5
4
6
5
# BACKEND
7
- AUTH_PROVIDER_PORT = 9090
8
6
METABASE_INSTANCE_URL = " http://localhost:3000"
9
7
METABASE_JWT_SHARED_SECRET = " TODO"
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ ENV WATCH=${WATCH}
6
6
ARG VITE_METABASE_INSTANCE_URL
7
7
ENV VITE_METABASE_INSTANCE_URL=${VITE_METABASE_INSTANCE_URL}
8
8
9
- ARG VITE_AUTH_PROVIDER_URI
10
- ENV VITE_AUTH_PROVIDER_URI=${VITE_AUTH_PROVIDER_URI}
11
-
12
9
WORKDIR /app
13
10
14
11
COPY ./client ./client
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {
10
10
// Configuration
11
11
const config = defineMetabaseAuthConfig ( {
12
12
metabaseInstanceUrl : import . meta. env . VITE_METABASE_INSTANCE_URL ,
13
- authProviderUri : import . meta. env . VITE_AUTH_PROVIDER_URI ,
14
13
} ) ;
15
14
16
15
const questionId = 24 ;
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ services:
11
11
MB_JWT_SHARED_SECRET : " ${METABASE_JWT_SHARED_SECRET}"
12
12
MB_SETUP_TOKEN : " ${PREMIUM_EMBEDDING_TOKEN}"
13
13
MB_PREMIUM_EMBEDDING_TOKEN : " ${PREMIUM_EMBEDDING_TOKEN}"
14
+ MB_JWT_IDENTITY_PROVIDER_URI : " http://localhost:${AUTH_PROVIDER_PORT}/sso/metabase"
14
15
healthcheck :
15
16
test : curl --fail -X GET -I "http://localhost:${MB_PORT}/api/health" || exit 1
16
17
interval : 15s
@@ -30,12 +31,10 @@ services:
30
31
dockerfile : ./client/Dockerfile
31
32
args :
32
33
VITE_METABASE_INSTANCE_URL : " http://localhost:${MB_PORT}"
33
- VITE_AUTH_PROVIDER_URI : " http://localhost:${AUTH_PROVIDER_PORT}/sso/metabase"
34
- WATCH : ' ${WATCH}'
34
+ WATCH : " ${WATCH}"
35
35
environment :
36
36
CLIENT_PORT : " ${CLIENT_PORT}"
37
37
VITE_METABASE_INSTANCE_URL : " http://localhost:${MB_PORT}"
38
- VITE_AUTH_PROVIDER_URI : " http://localhost:${AUTH_PROVIDER_PORT}/sso/metabase"
39
38
ports :
40
39
- " ${CLIENT_PORT}:${CLIENT_PORT}"
41
40
volumes :
You can’t perform that action at this time.
0 commit comments