Docker files for running dotOJ service.
Rename env-example
to .env
and change configs in these files:
webapp/appsettings.json
: Web application settings.worker/appsettings.json
: Judging service settings.
Dependencies: docker, docker-compose.
Optional dependencies: openssl.
- Run
web/cert.sh
to create a signing certificate for web service or provide with an existing one. - Start all services with
start.sh
(usage:./start.sh WORKER_SCALE
, default scale is 1 worker), stop withstop.sh
.