blob: 3554e636551333c7e2b58ec30a67502ba777b6f1 [file] [log] [blame]
DR695H13ce0552017-02-07 13:11:03 -05001FROM tomcat:8.0-jre8
2
3RUN apt-get update && apt-get install -y \
4 openjdk-8-jdk
5
6ENV ROOT_DIR /opt/app/vid
7
8ENV ASDC_CLIENT_TYPE REST
9ENV ASDC_CLIENT_REST_HOST c2.vm1.asdc.simpledemo.openecomp.org
10#old creds 1/9/2017 ENV ASDC_CLIENT_REST_AUTH Basic dmlkOnZpZG9z
11ENV ASDC_CLIENT_REST_AUTH Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
12ENV ASDC_CLIENT_REST_PROTOCOL http
13ENV ASDC_CLIENT_REST_PORT 8080
14
15ENV CACHE_DIRECTORY $ROOT_DIR/cache
16
17ENV LOG4J_LOGLEVEL INFO
18ENV LOG4J_APPENDER rollingfile
19ENV LOG4J_LOGS_DIRECTORY ${ROOT_DIR}/logs
20
21ENV VID_AAI_HOST aai.api.simpledemo.openecomp.org
22ENV VID_AAI_PORT 8443
23ENV VID_APP_DISPLAY_NAME VID
24ENV VID_ECOMP_SHARED_CONTEXT_REST_URL https://portal.api.simpledemo.openecomp.org:8080/ecompportal/context
25ENV VID_MSO_SERVER_URL http://vm1.mso.simpledemo.openecomp.org:8080
26ENV VID_TRUSTSTORE_FILE ${ROOT_DIR}/etc/vid_keystore.jks
27ENV VID_MYLOGIN_FEED_DIRECTORY /tmp/MyLogins
28ENV VID_TRUSTSTORE_PASS 5c84906b14912dbe96154e09b1e1db90e31f8dedb08e3e6c9f17da3f926cb67b33e4229cc1fe0f59c996d2e38b8ded42
29ENV VID_MSO_USER InfraPortalClient
30ENV VID_MSO_PASS 51515201a8d4c5c08d533db9bd1e1a9b
31ENV MSO_DME2_CLIENT_TIMEOUT 10000
32ENV MSO_DME2_CLIENT_READ_TIMEOUT 10000
33ENV MSO_DME2_SERVER_URL http://localhost:8081
34ENV MSO_DME2_ENABLED false
35ENV MSO_POLLING_INTERVAL_MSECS 10000
36ENV AAI_TRUSTSTORE_FILENAME tomcat_keystore
37ENV AAI_TRUSTSTORE_PASSWD_X 5c84906b14912dbe96154e09b1e1db90e31f8dedb08e3e6c9f17da3f926cb67b33e4229cc1fe0f59c996d2e38b8ded42
38ENV AAI_KEYSTORE_FILENAME tomcat_keystore
39ENV AAI_KEYSTORE_PASSWD_X 5c84906b14912dbe96154e09b1e1db90e31f8dedb08e3e6c9f17da3f926cb67b33e4229cc1fe0f59c996d2e38b8ded42
40ENV AAI_VID_UID VID
41ENV AAI_VID_PASSWD_X b78b4808b37a8aadf02a5cc0004f1ad0
42
43ENV VID_ECOMP_REDIRECT_URL http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm
44ENV VID_ECOMP_REST_URL http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/auxapi
45ENV VID_ECOMP_SHARED_CONTEXT_REST_URL http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/context
46ENV VID_CONTACT_US_LINK https://todo_contact_us_link.com
47
48ENV VID_DECRYPTION_KEY AGLDdG4D04BKm2IxIWEr8o=
49ENV VID_UEB_URL_LIST vm1-message-router
50ENV VID_UEB_CONSUMER_GROUP VID
51ENV VID_ECOMP_PORTAL_INBOX_NAME ECOMP-PORTAL-INBOX
52ENV VID_UEB_APP_KEY 2Re7Pvdkgw5aeAUD
53ENV VID_UEB_APP_SECRET S31PrbOzGgL4hg4owgtx47Da
54ENV VID_UEB_APP_MAILBOX_NAME ECOMP-PORTAL-OUTBOX-90
55ENV VID_UEB_LISTENERS_ENABLE false
56
57ENV VID_LOG_DIR ${ROOT_DIR}/logs
58ENV VID_LOG_LEVEL INFO
59
60ENV VID_MYSQL_HOST vid-mariadb-docker-instance
61ENV VID_MYSQL_PORT 3306
62ENV VID_MYSQL_DBNAME vid_portal
63ENV VID_MYSQL_USER vidadmin
64ENV VID_MYSQL_MAXCONNECTIONS 5
65ENV VID_MYSQL_PASS Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
66
67ADD maven/scripts/*.sh /tmp/vid/
68ADD maven/artifacts/vid.war /tmp/vid/stage/
69
70RUN chmod +x /tmp/vid/localize.sh
71
72CMD ["/tmp/vid/localize.sh"]