This repository provides code for deploying a GeoHealthCheck infrastructure.
You will need docker
and docker-compose
installed in your system, in order to run this infrastructure. If you don't have them already, you can get it from here:
./install_docker.sh
Setup the environment variables.
Then run:
docker-compose up -d
This compositions read secrets from an environment file on this folder: ghc.env
.
Create this file with the following format, filling the relevant values.
SQLALCHEMY_DATABASE_URI=sqlite:////GeoHealthCheck/DB/data.db
# Core variables settings, change at will.
GHC_RUNNER_IN_WEBAPP=False
GHC_NOTIFICATIONS=True
GHC_NOTIFICATIONS_VERBOSITY=True
GHC_ADMIN_EMAIL=
GHC_NOTIFICATIONS_EMAIL=
GHC_SMTP_SERVER=smtp.gmail.com
GHC_SMTP_PORT=587
GHC_SMTP_TLS=True
GHC_SMTP_SSL=False
GHC_SMTP_USERNAME=
GHC_SMTP_PASSWORD=
GHC_LOG_LEVEL=20
GHC_SITE_TITLE=GeoHealthCheck of the eMOTIONAL Cities SDI
GHC_SITE_URL=health.byteroad.net
GHC_SELF_REGISTER=True
GHC_VERIFY_SSL=True
#GHC_REQUIRE_WEBAPP_AUTH=True
# GHC_USER_PLUGINS=GeoHealthCheck.plugins.user.mywmsprobe,GeoHealthCheck.plugins.user.mywmsprobe2
# Optionally set container Timezone
# CONTAINER_TIMEZONE=Europe/London
# Optionally: set language
# LC_ALL=nl_NL.UTF-8
# LANG=nl_NL.UTF-8
# LANGUAGE=nl_NL.UTF-8
This project is released under an MIT License