From 26d4506ca3416bdeef03881ac9884adb974b0f14 Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Tue, 31 Jan 2023 17:51:37 +0530 Subject: [PATCH] Feature: Added hinchco --- docker/files/.env-hinchco | 17 +++++++++++++++++ docker/hosts | 1 + docker/vars/hinchco.yml | 6 ++++++ 3 files changed, 24 insertions(+) create mode 100644 docker/files/.env-hinchco create mode 100644 docker/vars/hinchco.yml diff --git a/docker/files/.env-hinchco b/docker/files/.env-hinchco new file mode 100644 index 00000000..940a622a --- /dev/null +++ b/docker/files/.env-hinchco @@ -0,0 +1,17 @@ +HOST=0.0.0.0 +PORT=80 +LOG_LEVEL=WARN +DEBUG=false +SQLALCHEMY_DATABASE_URI=postgresql://postgres:123456@db:5432/brewman_hinchco +MODULE_NAME=brewman.main +PROJECT_NAME=brewman +POSTGRES_SERVER=db +POSTGRES_USER=postgres +POSTGRES_PASSWORD=123456 +POSTGRES_DB=brewman_hinchco +SECRET_KEY=7b889cff76532fde8483304cf415243f70df200518ba9aee4d26c0709ad6fbd1 +MIDDLEWARE_SECRET_KEY=1e36e7f678 +ALGORITHM=HS256 +JWT_TOKEN_EXPIRE_MINUTES=30 +ALEMBIC_LOG_LEVEL=INFO +ALEMBIC_SQLALCHEMY_LOG_LEVEL=WARN diff --git a/docker/hosts b/docker/hosts index 3991070d..a8ccafc3 100644 --- a/docker/hosts +++ b/docker/hosts @@ -9,6 +9,7 @@ acc ansible_host=beacon var_file=vars/acc.yml exp ansible_host=beacon var_file=vars/exp.yml hops ansible_host=beacon var_file=vars/hops.yml mhl ansible_host=beacon var_file=vars/mhl.yml +hinchco ansible_host=beacon var_file=vars/hinchco.yml [all:vars] ansible_python_interpreter=/usr/bin/python3 diff --git a/docker/vars/hinchco.yml b/docker/vars/hinchco.yml new file mode 100644 index 00000000..e72e00a4 --- /dev/null +++ b/docker/vars/hinchco.yml @@ -0,0 +1,6 @@ +--- +http_host: "acc.hinchco.in" +http_conf: "acc.hinchco.in.conf" +host_port: "8655" +host_directory: "brewman-hinchco" +env_file: "files/.env-hinchco" \ No newline at end of file