Commit 27d92d340053058455bc72215a2d42e3c3b459dc

Authored by Paul Brodner
1 parent bc4da9a1b2
Exists in master

default setting

1 FROM java:8 1 FROM java:8
2 2
3 # 172.29.101.189
3 # Install maven 4 # Install maven
4 RUN apt-get update 5 RUN apt-get update
5 RUN apt-get install -y maven 6 RUN apt-get install -y maven
6 7
7 WORKDIR /code 8 WORKDIR /code
8 9
9 ADD . /code 10 ADD . /code
10 ADD settings.xml /root/.m2/settings.xml 11 ADD settings.xml /root/.m2/settings.xml
11 ADD settings-security.xml /root/.m2/settings-security.xml 12 ADD settings-security.xml /root/.m2/settings-security.xml
12 RUN ls -la ~/.m2 13 RUN ls -la ~/.m2
13 EXPOSE 8080 14 EXPOSE 8080
14 15
15 CMD ["mvn", "exec:java"] 16 CMD ["mvn", "exec:java"]
16 17
17 18
src/main/resources/default.properties
1 # 1 #
2 # MongodDB configuration 2 # MongodDB configuration
3 # 3 #
4 mongo.host=127.0.0.1 4 mongo.host=0.0.0.0
5 mongo.port=27017 5 mongo.port=27017
6 mongo.database=tas-environments 6 mongo.database=tas-environments
7 7
8 # 8 #
9 # Spark Web App configuration 9 # Spark Web App configuration
10 # 10 #
11 webapp.port=8080 11 webapp.port=8080