Please refer to this confluence page for more details about this project.
- Get copy of TAO from here as ZIP or clone it from Github and checkout tag "v3.1-rc07"
- Docker should be installed either Natively (not recommended for Windows machines) or through VM. Feel free to use the VM from this project.
$ docker --version
Docker version 17.03.0-ce, build 60ccb22- Docker compose is installed as well. To verify the version
$ docker-compose --version
docker-compose version 1.11.2, build dfed245- Clone this repo
- Get your copy of TAO and put under
/path/to/this/repo/server/code/tao cp .env.default .env- Edit the newly created
.envappropriately. Please go here for more info - Build your docker containers run
docker-compose build - Run your docker containers run
docker-compose up -d - Verify that you have 2 containers running
$ docker-compose ps
Name Command State Ports
----------------------------------------------------------------------
mysql docker-entrypoint.sh mysqld Up 0.0.0.0:33306->3306/tcp
server /run.sh Up 0.0.0.0:8080->80/tcp | Parameter | Description | Sample |
|---|---|---|
| MYSQL_ROOT_PASSWORD | A password for the Root User | test123 |
| MYSQL_PORT | Port for MySQL | 3306 |
| MYSQL_HOST_DATA_DIR | local dir (on host machine) to store the data | /path/to/your/local-repo/mysql/data |
| MYSQL_GUEST_DATA_DIR | a mapped dir on the guest machine to store the data | /var/lib/mysql |
| HTTP_PORT | Mapped port for HTTP on host machine | 8080 |
| HTTPS_PORT | Mapped port for HTTPS on host machine | 4443 |
| HOSTNAME | Application desired hostname | tao-docker |
| TIMEZONE | Guest machine timezone | UTC |
| TAO_HOST_DIR | Location of the TAO code on host machine | /path/to/your/local-repo/server/code/tao |
| DOCROOT | Mapped location of TAO code on the guest machine | /var/www/html |
| MYSQL_HOST | Hostname of the MySQL container | mysql |
| TAO_MYSQL_USER | MySQL username | root |
| TAO_MYSQL_PASSWORD | MySQL password | test123 |
| TAO_MYSQL_DB | Database name | tao |
| TAO_USER | Admin user | admin |
| TAO_PASSWORD | Admin password | admin |
| TAO_FULL_URL | Full URL | https://tao:4443 |
| SSL_ORGANIZATION_NAME | Organization Name | Breakthrough Technologies LLC |
| SSL_ORGANIZATIONAL_UNIT_NAME | Department | Developement |
| SSL_EMAIL_ADDRESS | An email address | first.last@breaktech.com |
| SSL_LOCALITY_NAME | City | Evanston |
| SSL_STATE | State | IL |
| SSL_COUNTRY_NAME | Country | US |
| SSL_COMMON_NAME | Common Name | *@breaktech.com |