From a1e1ac73d14ba38d02a2f0deaa4e1dcc9e4d44ba Mon Sep 17 00:00:00 2001 From: Mirza Widihananta Date: Tue, 17 Oct 2023 08:29:22 +0700 Subject: [PATCH] docs: move to section F --- judgels-env/hosts.ini | 5 +++++ judgels-env/vars.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 judgels-env/hosts.ini create mode 100644 judgels-env/vars.yml diff --git a/judgels-env/hosts.ini b/judgels-env/hosts.ini new file mode 100644 index 000000000..29e4e4f8f --- /dev/null +++ b/judgels-env/hosts.ini @@ -0,0 +1,5 @@ +[core] +34.101.52.134 ansible_user=root + +[grader] +34.101.52.134 ansible_user=root diff --git a/judgels-env/vars.yml b/judgels-env/vars.yml new file mode 100644 index 000000000..57229cfa2 --- /dev/null +++ b/judgels-env/vars.yml @@ -0,0 +1,28 @@ +app_version: '2.0' +app_name: Judgels +app_slogan: Programming Contest System +app_title:

Welcome to Judgels

+app_description:

This is a programming contest system.

+ +ansible_ssh_private_key_file: ~/.ssh/google_compute_engine + +nginx_domain_judgels_client: judgels.com +nginx_domain_judgels_server_api: api.judgels.com +nginx_domain_judgels_server_admin: admin.judgels.com +nginx_certbot_email: admin@judgels.com + +# java_opts_judgels_server: -Xmx1g +# java_opts_judgels_grader: -Xmx1g + +db_root_password: pass # <-------------------------- CHANGE THIS !!! +db_username: judgels +db_password: pass # <------------------------------- CHANGE THIS !!! + +rabbitmq_username: judgels +rabbitmq_password: pass # <------------------------- CHANGE THIS !!! + +jophiel_superadmin_initialPassword: superadmin # <-- CHANGE THIS !!! +jophiel_session_maxConcurrentSessionsPerUser: -1 +jophiel_session_disableLogout: false + +gabriel_grading_numWorkerThreads: 1