File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ RUN wget -q $ARTIFACT_DOWNLOAD_URL && \
3030 sh /tmp/ibm-ucd-install/install-server.sh && \
3131 grep ZSQLFILE /tmp/ibm-ucd-install/install.log | cut -f 3- -d '_' > /opt/ucd/ucddbinstall/runsqls.txt && \
3232 grep ZSQLSTMTBEGIN /tmp/ibm-ucd-install/install.log | cut -f2- -d '_' > /opt/ucd/ucddbinstall/execsql.sql && \
33- chmod +x /opt/ucd/ucddbinstall/install-db.sh && \
33+ chmod +x /opt/ucd/ucddbinstall/install-db.sh /opt/startup.sh && \
3434 cp -r /tmp/ibm-ucd-install/database /opt/ucd/ucddbinstall/ && \
3535 cat /tmp/supervisord.conf >> /etc/supervisor/conf.d/supervisord.conf && \
3636 rm -rf /tmp/ibm-ucd-install /tmp/install.properties /tmp/supervisord.conf ibm-ucd-$ARTIFACT_VERSION.zip
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ services:
1515 build :
1616 context : .
1717 args :
18- ARTIFACT_DOWNLOAD_URL : http://mediahost /ibm-ucd-6.2.1.2.801550.zip
18+ ARTIFACT_DOWNLOAD_URL : http://${MEDIAHOST} /ibm-ucd-6.2.1.2.801550.zip
1919 ARTIFACT_VERSION : 6.2.1.2.801550
2020 image : stackinabox/urbancode-deploy:6.2.1.2.801550
2121 container_name : ucd
Original file line number Diff line number Diff line change 1313echo " $IP_ADDRESS $PUBLIC_HOSTNAME " >> /etc/hosts
1414
1515# run db setup scripts
16+ sed -i " s/27000@licenses.example.com/${RCL_URL} /g" /opt/ucd/ucddbinstall/execsql.sql
1617mkdir -p /tmp/ibm-ucd-install
1718cp -r /opt/ucd/ucddbinstall/database/ /tmp/ibm-ucd-install
1819cd /opt/ucd/ucddbinstall
Original file line number Diff line number Diff line change 9595 <entry key =" hibernate.connection.password" value =" ${hibernate.connection.password}" />
9696 <entry key =" hibernate.connection.username" value =" ${hibernate.connection.username}" />
9797 <entry key =" hibernate.connection.url" value =" jdbc:mysql://${env.DATABASE_HOST}:${env.DATABASE_PORT}/${env.DATABASE_NAME}" />
98- <entry key =" rcl.server.url" value =" ${env.RCL_URL}" >
98+ <entry key =" rcl.server.url" value =" ${env.RCL_URL}" / >
9999</propertyfile >
100100</target >
101101</project >
You can’t perform that action at this time.
0 commit comments