Skip to content
Snippets Groups Projects
Commit 5104dc08 authored by root's avatar root
Browse files

Update settings

parent d45e951b
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -19,9 +19,10 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = '!g%m-6&hdwfjxafjn61vvrhf1f8q3-d$5@0if_^#_a&en@^lsp'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
# DEBUG = True
DEBUG = int(os.environ.get('DEBUG', default=1))
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['0.0.0.0']
# Application definition
INSTALLED_APPS = [
......@@ -81,7 +82,8 @@ DATABASES = {
}
# Neo4j database settings
NEOMODEL_NEO4J_BOLT_URL = os.environ.get('NEO4J_BOLT_URL','bolt://neo4j:neo4@localhost:7687')
# NEOMODEL_NEO4J_BOLT_URL = os.environ.get('NEO4J_BOLT_URL','bolt://neo4j:neo4@localhost:7687')
NEOMODEL_NEO4J_BOLT_URL = os.environ.get('NEO4J_BOLT_URL','bolt://neo4j:neo4@docker_neo4j_1:7687')
# Password validation. See https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment