Running Trillo services on a Unix-based host (Internet facing)
Requirements
- Recommended Hardware: (4 CPUs, 15 GB memory)
- Disk: 10GB free (/opt)
- Firewalls:
- Allow HTTP traffic (Yes)
- Allow HTTPS traffic (Yes)
- Internet IP: Yes
Install Docker and Docker-Compose
Please following the installation instructions provided in the following links.
- https://docs.docker.com/engine/installation/
- https://docs.docker.com/compose/install/
Provide DockerHub userId
- Provide your dockerhub user-id to your contact at trillo.io
- trillo.io will add user-id to the access list allowing downloading of docker services.
- login into dockerhub, once, with the user-id.
Install and Run Trillo Services
- Create a new folder /opt/trillo
- Copy docker-compose.db.prod.yaml to /opt/trillo
- Run docker-compose -f docker-compose.db.prod.yaml up -d
-
Confirm all services
[root@centos-7-1 trillo]# docker-compose -f docker-compose.db.prod.yaml ps
Name Command State Ports
-------------------------------------------------------------------------------------------
trillo_db_1 docker-entrypoint.sh mysqld Up 0.0.0.0:3306->3306/tcp
trillo_trillo-data-service_1 /docker-entrypoint.sh Up 0.0.0.0:8030->8030/tcp
trillo_trillo-rt_1 /docker-entrypoint.sh Up 0.0.0.0:80->8020/tcp
- Test Trillo runtime server using “curl http://internet-address”
- Your instance is now ready to run applications developed at https://trillo.io