Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Khalid Ali
cas-server
Commits
ca0c50ef
Commit
ca0c50ef
authored
Jan 24, 2019
by
Khalid Ali
Browse files
Merge branch 'feature/add-docker' into 'master'
Dockerize CAS server Closes
#1
See merge request
!1
parents
a61f42e1
a070ccf6
Pipeline
#3702
passed with stages
in 8 minutes and 41 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
ca0c50ef
FROM
gradle:jdk11 as builder
COPY
--chown=gradle:gradle . /home/gradle/src
WORKDIR
/home/gradle/src
RUN
gradle build
FROM
openjdk:11-jre-slim
COPY
--from=builder /home/gradle/src/build/libs/cas.war /tmp/cas-overlay/
COPY
./tomcat.keystore /etc/cas/tomcat.keystore
COPY
./src/main/resources/etc/cas /etc/cas
WORKDIR
/tmp/cas-overlay
EXPOSE
9443
CMD
["java", "-jar", "/tmp/cas-overlay/cas.war"]
src/main/resources/application.properties
View file @
ca0c50ef
...
...
@@ -17,4 +17,4 @@ standalone.config=/etc/cas/config
#cas.tgc.crypto.encryption.key= LZT8P2nJeG9Wg59B2qOAM6EDZaM_BFIFtfkEX_LGdf8
#
#cas.webflow.crypto.signing.key= tNU9GP8Y-GmQJXtEA91aRnTZ7-lUcVSDZsYzOaotv5lHPKlQ2YrvhgDUM4y5AVY4AKmHrA3fUoefmZoQKXa1Vw
#
cas.webflow.crypto.encryption.key
=
zRO9dXSrfHlytKiiF56lqQ==
\ No newline at end of file
#cas.webflow.crypto.encryption.key= zRO9dXSrfHlytKiiF56lqQ==
src/main/resources/etc/cas/config/cas.properties
View file @
ca0c50ef
...
...
@@ -18,4 +18,4 @@ server.ssl.keyPassword=changeit
server.port
=
9443
cas.authn.accept.users
=
casuser::Mellon,username::password
\ No newline at end of file
cas.authn.accept.users
=
casuser::Mellon,username::password
tomcat.keystore
0 → 100644
View file @
ca0c50ef
File added
Write
Preview
Markdown
is supported
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