Compare commits

...

2 Commits
0.0.7 ... 0.0.9

Author SHA1 Message Date
ducoterra
bdc4c90705 wrong port for the service 2020-04-24 21:18:28 -04:00
ducoterra
b309e5fa4a fail safe 2020-04-24 21:14:32 -04:00
3 changed files with 6 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = 'b8fi9=f-qj=@-#1iru34-f@a6pzfysgrf(1n_&d=ur%!1w$q*w'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = True if os.getenv("DEBUG") == "True" else False
ALLOWED_HOSTS = ["localhost", "test.ducoterra.net"]

View File

@@ -32,8 +32,8 @@ spec:
- match: Host(`test.ducoterra.net`)
kind: Rule
services:
- name: test-web
port: 80
- name: test
port: 8000
---
@@ -48,7 +48,7 @@ spec:
- match: Host(`test.ducoterra.net`)
kind: Rule
services:
- name: test-web
port: 80
- name: test
port: 8000
middlewares:
- name: httpsredirect

View File

@@ -5,6 +5,7 @@ import sys
def main():
os.environ.setdefault('DEBUG', 'True')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
try:
from django.core.management import execute_from_command_line