Skip to content

Commit 248c9f4

Browse files
committed
patched up some environment variables
1 parent 9d2890c commit 248c9f4

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

{{cookiecutter.project_slug}}/backend/app/app/core/config.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -98,22 +98,5 @@ def get_emails_enabled(cls, v: bool, values: Dict[str, Any]) -> bool:
9898
FIRST_SUPERUSER_PASSWORD: str
9999
USERS_OPEN_REGISTRATION: bool = True
100100

101-
# NEO4J
102-
NEO4J_FORCE_TIMEZONE: Optional[bool] = True
103-
NEO4J_AUTO_INSTALL_LABELS: Optional[bool] = True
104-
NEO4J_MAX_CONNECTION_POOL_SIZE: Optional[int] = 50
105-
NEO4J_SERVER: Optional[str] = "localhost"
106-
NEO4J_USERNAME: str
107-
NEO4J_PASSWORD: str
108-
NEO4J_AUTH: str
109-
NEO4J_BOLT: str
110-
NEO4J_BOLT_URL: Optional[str] = None
111-
NEO4J_SUGGESTION_LIMIT: int = 8
112-
NEO4J_RESULTS_LIMIT: int = 100
113-
114-
@validator("NEO4J_BOLT_URL", pre=True)
115-
def get_neo4j_bolt_url(cls, v: str, values: Dict[str, Any]) -> str:
116-
return f"{values.get('NEO4J_BOLT')}://{values.get('NEO4J_USERNAME')}:{values.get('NEO4J_PASSWORD')}@{values.get('NEO4J_SERVER')}:7687"
117-
118101

119102
settings = Settings()

{{cookiecutter.project_slug}}/cookiecutter-config-file.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ default_context:
2020
smtp_emails_from_name: '{{cookiecutter.smtp_emails_from_name}}'
2121
smtp_emails_to_email: '{{cookiecutter.smtp_emails_to_email}}'
2222
mongodb_password: '{{ cookiecutter.mongodb_password }}'
23-
neo4j_password: '{{cookiecutter.neo4j_password}}'
2423
traefik_constraint_tag: '{{ cookiecutter.traefik_constraint_tag }}'
2524
traefik_constraint_tag_staging: '{{ cookiecutter.traefik_constraint_tag_staging }}'
2625
traefik_public_constraint_tag: '{{ cookiecutter.traefik_public_constraint_tag }}'

0 commit comments

Comments
 (0)