Skip to content

Setup Teletraan using Docker and Docker compose

sbaogang edited this page Jan 9, 2017 · 2 revisions

This is the instructions for setting up Teletraan for development using docker and docker-compose. By executing docker-compose command, it will bring up teletraan server, deployboard and database (optional) all at the same time.

  $ cd $TELETRAAN_ROOT/deploy-service
  $ mvn clean package -DskipTests  
  • Run docker-compose
  $ cd $TELETRAAN_ROOT/
  $ docker-compose build
  $ docker-compose up

Alternatively, you could start Teletraan without database. Teletraan will use a file-based embedded database in this case. Notice you do not need to provision database and upgrade database if you choose to use the embedded database.

  $ cd $TELETRAAN_ROOT/
  $ docker-compose build
  $ export UID && docker-compose -f docker-compose-no-db.yml up
  • (optional) Provision database (Only required on first time)
 $ docker exec teletraan_mysql /var/teletraan/tools/deploydb.sh
  • (optional) Upgrade database (When there is a DB schema change or pull a new version)
 $ docker exec teletraan_mysql /var/teletraan/tools/upgrade.sh

With Teletraan server and Deploy Board running, you can now checkout the Teletraan UI at the default local address.