Files
domjudge/roles/configure_judgehost/templates/docker-compose.yml.jinja

15 lines
422 B
Django/Jinja

services:
judgehost:
image: domjudge/judgehost:{{ judgehost_version }}
privileged: true
environment:
DAEMON_ID: 0
DOMSERVER_BASEURL: {{ domserver_url }}
JUDGEDAEMON_USERNAME: judgehost
JUDGEDAEMON_PASSWORD: {{ judgehost_password }}
DOMJUDGE_CREATE_WRITABLE_TEMP_DIR: 1
CONTAINER_TIMEZONE: Asia/Taipei
restart: always
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup