1 # docker-compose for ONAP portal containers: database, microservice, portal apps.
2 # Relies on .env file in current directory.
3 # Works in multiple environments; does not pull from a Nexus registry.
4 # Exposes the portal apps docker (but not DB nor WMS dockers) on the host network.
5 # Images must be pulled from ONAP Nexus registry after logging in like this:
6 # docker login -u USER -p PASS nexus3.onap.org:10001
13 image: ${CLI_IMG_NAME}:${PORTAL_TAG}
22 # Config files may use hostname "portal-db"
24 image: ${DB_IMG_NAME}:${PORTAL_TAG}
26 MYSQL_ROOT_PASSWORD: 'Aa123456'
30 # Just specify a path and let the Engine create a volume
35 # An environment variable here CAN override the database URL;
36 # instead the value in the config file uses hostname from above
38 image: ${WMS_IMG_NAME}:${PORTAL_TAG}
46 - ${PROPS_DIR}/ONAPWIDGETMS/application.properties:/application.properties
57 # Environment variables here CANNOT override the database URL because
58 # two apps use identical configuration keys with different values
60 image: ${EP_IMG_NAME}:${PORTAL_TAG}
72 - ${PROPS_DIR}/ONAPPORTAL/system.properties:${WEBAPPS_DIR}/ONAPPORTAL/WEB-INF/conf/system.properties
73 - ${PROPS_DIR}/ONAPPORTAL/fusion.properties:${WEBAPPS_DIR}/ONAPPORTAL/WEB-INF/fusion/conf/fusion.properties
74 - ${PROPS_DIR}/ONAPPORTAL/portal.properties:${WEBAPPS_DIR}/ONAPPORTAL/WEB-INF/classes/portal.properties
75 - ${PROPS_DIR}/ONAPPORTAL/openid-connect.properties:${WEBAPPS_DIR}/ONAPPORTAL/WEB-INF/classes/openid-connect.properties
76 - ${PROPS_DIR}/ONAPPORTAL/logback.xml:${WEBAPPS_DIR}/ONAPPORTAL/WEB-INF/classes/logback.xml
77 - ${PROPS_DIR}/ONAPPORTALSDK/fusion.properties:${WEBAPPS_DIR}/ONAPPORTALSDK/WEB-INF/fusion/conf/fusion.properties
78 - ${PROPS_DIR}/ONAPPORTALSDK/system.properties:${WEBAPPS_DIR}/ONAPPORTALSDK/WEB-INF/conf/system.properties
79 - ${PROPS_DIR}/ONAPPORTALSDK/portal.properties:${WEBAPPS_DIR}/ONAPPORTALSDK/WEB-INF/classes/portal.properties
80 - ${PROPS_DIR}/ONAPPORTALSDK/logback.xml:${WEBAPPS_DIR}/ONAPPORTALSDK/WEB-INF/classes/logback.xml
81 - ${LOGS_DIR}:/opt/apache-tomcat-8.0.37/logs
89 # see comments in .env file