Challenge Overview
Previously, we have created separated local environment for direct app and online review
- direct app
- online review
For this challenge, we'd like to work out a conslidated docker-compose.yml file which will glue direct app and online review all togather for local testing environment. It should consist of five services.
- Informix
Please use 1b3d4ef tag which is the latest. This is the database which is used by direct app and online review application.
- direct app
Please use run tag which is the deployed version without code.
- online review
Please use the latest tag which is the web application for online review.
- autopilot for nline review
Please use the autopilot tag which is the auto-pilot for online review
- nginx
This is a customed nginx, which will be used as proxy to online review and direct app, so we don't need to provide port in url to visit direct app and online review. You can take https://github.com/appirio-tech/tc-common-tutorials/tree/master/submission-system/docker/nginx for reference implementation.
The ultimate goals are
after setting up hosts file, like
- Direct app can be visit by https://cockpit.cloud.topcoder.com/direct
- Online Review can be visit by https://tcs.cloud.topcoder.com/review
- You can create and launch challenges through Direct
- Admin can register challenges for members and reviewers through Online Review
- Registered members can submit for challenges through Online Review
- Challenge phases can be moved (open and close) when the time moves, you can edit the challenge to use short phase length for testing purpose)
If there is a need to change docker setup for direct app and online review, like jboss configuration, you can go ahead, but provide the changes in your submission. and you can build the local image for testing purpose.
You are also expected to provide a README.md file for setup guide, all things in tc-common-tutorials will be a good resource for reference.
- docker-compose.yml to define the services to up and run, you can use env variables by providing another env.sh file
- README.md about usage.
- Verfication Steps or videos showing the goals are achieved.
- direct app
- online review
For this challenge, we'd like to work out a conslidated docker-compose.yml file which will glue direct app and online review all togather for local testing environment. It should consist of five services.
- Informix
Please use 1b3d4ef tag which is the latest. This is the database which is used by direct app and online review application.
- direct app
Please use run tag which is the deployed version without code.
- online review
Please use the latest tag which is the web application for online review.
- autopilot for nline review
Please use the autopilot tag which is the auto-pilot for online review
- nginx
This is a customed nginx, which will be used as proxy to online review and direct app, so we don't need to provide port in url to visit direct app and online review. You can take https://github.com/appirio-tech/tc-common-tutorials/tree/master/submission-system/docker/nginx for reference implementation.
The ultimate goals are
after setting up hosts file, like
<docker-box-ip> cockpit.cloud.topcoder.com tcs.cloud.topcoder.comOnce we use docker compose to run the local environment, we can
- Direct app can be visit by https://cockpit.cloud.topcoder.com/direct
- Online Review can be visit by https://tcs.cloud.topcoder.com/review
- You can create and launch challenges through Direct
- Admin can register challenges for members and reviewers through Online Review
- Registered members can submit for challenges through Online Review
- Challenge phases can be moved (open and close) when the time moves, you can edit the challenge to use short phase length for testing purpose)
If there is a need to change docker setup for direct app and online review, like jboss configuration, you can go ahead, but provide the changes in your submission. and you can build the local image for testing purpose.
You are also expected to provide a README.md file for setup guide, all things in tc-common-tutorials will be a good resource for reference.
Final Submission Guidelines
- Dockerfile and ngnix configuration for build custom ngnix- docker-compose.yml to define the services to up and run, you can use env variables by providing another env.sh file
- README.md about usage.
- Verfication Steps or videos showing the goals are achieved.