Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 0a37dafe authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

add tomcat/mysql compose files for SOAPUI testing

parent 55839f35
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ ADD ./artefacts /tmp/artefacts
# install SMP
run unzip /tmp/artefacts/smp-setup.zip -d /tmp/ \
RUN unzip /tmp/artefacts/smp-setup.zip -d /tmp/ \
&& mv /tmp/artefacts/smp.war $SMP_HOME/apache-tomcat-$TOMCAT_VERSION/webapps/
VOLUME ["/data"]
......
......@@ -91,10 +91,10 @@ init_mysql() {
if [ -f "/tmp/custom-database-scripts/mysql5innodb-data.sql" ]
then
echo "Use custom init script! "
mysql -h localhost -u root --password=$MYSQL_ROOT_PASSWORD $DB_SCHEMA < "tmp/custom-database-scripts/mysql5innodb-data.sql"
mysql -h localhost -u root --password=$MYSQL_ROOT_PASSWORD $DB_SCHEMA < "/tmp/custom-database-scripts/mysql5innodb-data.sql"
else
echo "Use default init script!"
mysql -h localhost -u root --password=$MYSQL_ROOT_PASSWORD $DB_SCHEMA < "/tmp/artefacts/smp-4.1.1-SNAPSHOT/database-scripts/mysql5innodb-data.sql"
mysql -h localhost -u root --password=$MYSQL_ROOT_PASSWORD $DB_SCHEMA < "/tmp/smp-4.1.1-SNAPSHOT/database-scripts/mysql5innodb-data.sql"
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment