docker
This commit is contained in:
parent
493961ad0b
commit
f969b88376
|
@ -1,4 +1,4 @@
|
||||||
FROM smartgears-distribution:4.0.0-java11-tomcat9
|
FROM d4science/smartgears-distribution:4.0.0-SNAPSHOT-java11-tomcat9
|
||||||
ARG REPOUSER=admin
|
ARG REPOUSER=admin
|
||||||
ARG REPOPWD=admin
|
ARG REPOPWD=admin
|
||||||
COPY ./target/identity-manager.war /tomcat/webapps/
|
COPY ./target/identity-manager.war /tomcat/webapps/
|
||||||
|
@ -8,4 +8,4 @@ COPY ./docker/container.ini /etc/
|
||||||
RUN unzip /tomcat/webapps/identity-manager.war -d /tomcat/webapps/identity-manager
|
RUN unzip /tomcat/webapps/identity-manager.war -d /tomcat/webapps/identity-manager
|
||||||
RUN rm /tomcat/webapps/identity-manager.war
|
RUN rm /tomcat/webapps/identity-manager.war
|
||||||
# COPY ./docker/storage-settings.properties /tomcat/webapps/identity-manager/WEB-INF/classes/
|
# COPY ./docker/storage-settings.properties /tomcat/webapps/identity-manager/WEB-INF/classes/
|
||||||
RUN sed -i "s/{{adminId}}/$REPOUSER/g; s/{{adminPwd}}/$REPOPWD/g" /tomcat/webapps/storagehub/WEB-INF/web.xml
|
# RUN sed -i "s/{{adminId}}/$REPOUSER/g; s/{{adminPwd}}/$REPOPWD/g" /tomcat/webapps/storagehub/WEB-INF/web.xml
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
version: '0.1'
|
||||||
|
services:
|
||||||
|
identity-manager:
|
||||||
|
platform: linux/amd64
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- '8080:8080'
|
Loading…
Reference in New Issue