From ae806542e381330ff1e1573947f3824853243a62 Mon Sep 17 00:00:00 2001 From: tanshu Date: Mon, 4 May 2020 15:42:11 +0530 Subject: [PATCH] Changed the default port to 80 --- .env | 2 +- README.txt | 5 ++--- bifrost/config.py | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.env b/.env index d0c53e8..0c66426 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ API_URL_BASE=https://api.digitalocean.com/v2 API_TOKEN="" HTPASSWD=.htpasswd HOST=0.0.0.0 -PORT=8000 +PORT=80 LOG_LEVEL=info DEBUG=true diff --git a/README.txt b/README.txt index ca7440d..5b295a8 100644 --- a/README.txt +++ b/README.txt @@ -5,6 +5,5 @@ or with custom ip address http://[USERNAME]:[PASSWORD]@tanshu.com/update?hostname=[DOMAIN]&ip=[IP] The users are maintained in the .htpasswd file in the production.ini directory. The way to add/update users is "htpasswd .htpasswd [USERNAME] -the domains should be in the "dns_info" file in the format "domain:ipaddress" -The location of both the files can be changed in the ini file. -Also, the webfaction username and password needs to be configured in the ini file. \ No newline at end of file +The location of the files can be changed in the environment variables. +Also, the digital ocean api key needs to be configured in the environment variables. \ No newline at end of file diff --git a/bifrost/config.py b/bifrost/config.py index b062646..a4f65ef 100644 --- a/bifrost/config.py +++ b/bifrost/config.py @@ -2,7 +2,6 @@ from environs import Env env = Env() env.read_env() # read .env file, if it exists -print("env reloaded") class Settings: