AutolabJS/AutolabJS

View on GitHub
deploy/single_machine

Summary

Maintainability
Test Coverage
# This hosts file is for a single machine installation of AutolabJS software

# Place holder for unique host on which main server and load balancer of AutolabJS run
[machines]
server1
# -------------

[mainserver]
ms
# -------------

[loadbalancer]
lb
# -------------

#By default installs ten execution nodes. If you don't need so many, you can
# comment out the unnecessary ones and limit the installation to few
# execution nodes.
[executionnodes]
en1 en_port=8091
en2 en_port=8092
en3 en_port=8093
en4 en_port=8094
en5 en_port=8095
en6 en_port=8096
en7 en_port=8097
en8 en_port=8098
en9 en_port=8099
en10 en_port=8100
# -------------

[database]
mysqldb
# -------------

[git]
gitlab
# -------------

[git-credentials:children]
git
loadbalancer
executionnodes
# -------------

# The group variables sections follow
[all:vars]
reject_unauthorised=0
ansible_connection=local
ansible_python_interpreter=/usr/bin/python2
install_dir=/opt/autolabjs

#remember to change host name to proper DNS name or IP address
ansible_host=localhost
ms_hostname="{{ ansible_host }}"
lb_hostname="{{ ansible_host }}"
db_hostname="{{ ansible_host }}"
gitlab_hostname="{{ ansible_host }}"

ms_port=9000
lb_port=8081
gitlab_port=80  #Don't change this port
#remember to change the passwords to a secure password
mysql_root_pass=root
gitlab_username=root
gitlab_password=12345678

# Key generation details
#remember to change the root CA cert password to a secure password
password=autolabjs
email=admin@autolabjs.com
app_name=AutolabJS
organization=autolabjs.com
organizational_unit=CSIS
country=IN
state=Goa
locality=Goa

# Development variables
# The path should not have a trailing slash
load_docker_images=no
docker_images_location=/path/to/docker/images

# Message and file limits
max_log_size=5242880
max_eval_log_size=256kb

# System config information
sys_ssh_port=2222
# ------------- end of [all:vars]

[machines:vars]
#no exclusive variables for machines group
# -------------

[mainserver:vars]
course_name="Object Oriented Programming"
course_number="CS F213"
instructor_in_charge="Prasad Talasila"
other_instructors='["Rajat Agarwal","Ankshit Jain"]'
#links to webpages containing submission and self-evaluation instructions
submission_url="https://github.com/AutolabJS/AutolabJS/wiki/v0.5.0-Making-a-Submission"
self_evaluation_url="https://github.com/AutolabJS/AutolabJS/wiki/v0.5.0-Post-lab-self-evaluation"
ms_admin_pass=12345678
# -------------

[loadbalancer:vars]
submissions_dir=load_balancer/submissions
# -------------

[executionnodes:vars]
#no exclusive variables for executionnodes group
# -------------

[git:vars]
#no exclusive variables for git group
# -------------

[database:vars]
#no exclusive variables for machines group
# -------------

[git-credentials:vars]
#no exclusive variables for machines group
# -------------