Installing Simflofy in Docker
The purpose of this document is to describe the installation and configuration requirements for a successful Simflofy installation in a Docker Container.
Software Requirements
Docker, Docker Tools
Ubuntu Linux image
Tomcat 9.x (download)
MongoDB 3.4.x or 4.x (download)
Installing MongoDB Server
- Install MongoDB 3.4 or 4.x+ using apt-get
- START mongodb
- Create the Simflofy database and user in MongoDB
- Open the MongoDB Shell
use simflofy;
db.createUser({"user":"simflofy", "pwd":"PASSWORD", "roles":["readWrite",
"dbAdmin"]});
Passwords
Remember to set your password using your organization's password policy.
Installing Tomcat Server
- Install Tomcat 9by downloading the binary from (download)
- Unzip Tomcat 9binary into /opt/tomcat
- START tomcat (Default Port is 8080)
/opt/tomcat/bin/startup.sh
- SHUTDOWN Tomcat for the Simflofy installation
/opt/tomcat/bin/shutdown.sh
Installing Oracle Java 8
- Download Oracle Java 11+(download)
- Install Oracle Java 8 (download)
- Confirm Oracle Java is the default by running the following command:
user:/opt# java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Installing Simflofy Admin Server
- Copy the Simflofy Admin war file or expanded zip to Tomcat Installation Directory > webapps directory
- Navigate to the mongo-db.properties file Tomcat > Webapps > Simflofy > Admin > WEB-INF > classes > mongo-db.properties.
- Set the credentials for the user and the database connection details
mongo.db.username=simflofy
mongo.db.password=PASSWORD
mongo.db.host=192.168.99.100
mongo.db.port=27017
mongo.db.dbname=simflofy
- Start Tomcat
- Open Browser to http://(servername):(port)/simflofy-admin
*The default Simflofy Username/Password is admin/admin.
Remember to set your password using your organization's password policy.
Commit changes to Docker Image
- Open the Docker CLI from the Docker Tools UI
- Commit changes to the docker container using the following command
docker commit <image_name>
Congratulations, Simflofy has been successfully installed.
Related Articles: