Skip to content
Snippets Groups Projects
Commit 3b33a29e authored by Jörn Künsemöller's avatar Jörn Künsemöller
Browse files

TMSS-134: Change host ports to 3003, 5005, 8008 and 8088

parent 6f7af2d0
No related branches found
No related tags found
1 merge request!94Resolve TMSS-134
......@@ -6,13 +6,13 @@ services:
dockerfile: tmss_testenv_Dockerfile
container_name: tmss_test
ports:
- "8000:8000"
- "3000:3000"
- "8008:8000"
- "3003:3000"
tmss_test_nginx:
build:
context: .
dockerfile: tmss_nginx_Dockerfile
container_name: tmss_test_nginx
ports:
- "5000:5000"
- "5005:5000"
......@@ -18,26 +18,26 @@ http {
}
location @api_proxy {
proxy_pass http://tmss_test:8000$uri;
proxy_pass http://tmss_test:8008$uri;
proxy_intercept_errors on;
recursive_error_pages on;
error_page 404 = @frontend_proxy;
}
location @frontend_proxy {
proxy_pass http://tmss_test:3000$uri;
proxy_pass http://tmss_test:3003$uri;
}
location /api/ {
proxy_pass http://tmss_test:8000;
proxy_pass http://tmss_test:8008;
}
location /frontend/ {
proxy_pass http://tmss_test:3000;
proxy_pass http://tmss_test:3003;
}
location /openid/ {
proxy_pass http://tmss_test:8000/openid;
proxy_pass http://tmss_test:8008/openid;
}
}
......
......@@ -236,9 +236,9 @@ OIDC_DRF_AUTH_BACKEND = 'mozilla_django_oidc.auth.OIDCAuthenticationBackend'
# For talking to Mozilla Identity Provider:
OIDC_RP_CLIENT_ID = os.environ.get('OIDC_RP_CLIENT_ID', '1') # Secret, do not put real credentials on Git
OIDC_RP_CLIENT_SECRET = os.environ.get('OIDC_RP_CLIENT_SECRET', 'secret') # Secret, do not put real credentials on Git
OIDC_OP_AUTHORIZATION_ENDPOINT="http://localhost:8080/openid/authorize"
OIDC_OP_TOKEN_ENDPOINT="http://localhost:8080/openid/token"
OIDC_OP_USER_ENDPOINT="http://localhost:8080/openid/userinfo"
OIDC_OP_AUTHORIZATION_ENDPOINT="http://localhost:8088/openid/authorize"
OIDC_OP_TOKEN_ENDPOINT="http://localhost:8088/openid/token"
OIDC_OP_USER_ENDPOINT="http://localhost:8088/openid/userinfo"
LOGIN_REDIRECT_URL = "/api/"
LOGIN_REDIRECT_URL_FAILURE = "/api/"
......
......@@ -72,7 +72,7 @@
"logo": "",
"reuse_consent": true,
"require_consent": true,
"_redirect_uris": "http://localhost:8000/oidc/callback/",
"_redirect_uris": ["http://localhost:5000/oidc/callback/", "http://localhost:5005/oidc/callback/", "http://localhost:8000/oidc/callback/" ,"http://localhost:8008/oidc/callback/"],
"_post_logout_redirect_uris": "",
"_scope": "",
"response_types": [
......@@ -97,7 +97,7 @@
"logo": "",
"reuse_consent": true,
"require_consent": true,
"_redirect_uris": "http://localhost:8000/oidc/callback/",
"_redirect_uris": ["http://localhost:5000/oidc/callback/", "http://localhost:5005/oidc/callback/", "http://localhost:8000/oidc/callback/" ,"http://localhost:8008/oidc/callback/"],
"_post_logout_redirect_uris": "",
"_scope": "",
"response_types": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment