Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Helmholtz Cloud Portal
Helmholtz Marketplace Server
Commits
860e127a
Commit
860e127a
authored
Dec 06, 2020
by
femiadeyemi
Browse files
create environment variable for docker and set the redirect uri
Target: master
parent
1001bc5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
860e127a
FROM
adoptopenjdk:11-jre-hotspot
ENV
CLIENT_SECRET nopass
COPY
target/hm-server-package.tar hms.tar
EXPOSE
8080
CMD
tar -xvf hms.tar -C ./ && cd ./hm-server/bin && ./start.sh -s $CLIENT_SECRET -a dev
src/main/resources/application.yml
View file @
860e127a
...
...
@@ -21,7 +21,7 @@ spring:
client-id
:
helmholtz-marketplace
client-secret
:
${secret:nopass}
authorization-grant-type
:
authorization_code
redirect-uri
:
"
{baseUrl}
/login/oauth2/code/unity"
redirect-uri
:
"
https://hifis-tp.desy.de
/login/oauth2/code/unity"
scope
:
-
offline_access
-
credentials
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment