File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed
fastapi_template/template/{{cookiecutter.project_name}}/envs Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ celerybeat.pid
107107* .sage.py
108108
109109# Environments
110- .env
111110.venv
112111env /
113112venv /
Original file line number Diff line number Diff line change 1+ LOG_LEVEL = Debug
2+ POSTGRES_HOST = db
3+ POSTGRES_PORT = 5432
4+ POSTGRES_DB = {{cookiecutter.project_name}}_db
5+ POSTGRES_USER = {{cookiecutter.project_name}}
6+ POSTGRES_PASSWORD = {{cookiecutter.postgres_password}}
7+ {% if cookiecutter.add_redis == "True" -%}
8+ REDIS_PASSWORD = {{cookiecutter.redis_password}}
9+ REDIS_HOST = redis
10+ REDIS_PORT = 6379
11+ {% endif %}
12+ {% if cookiecutter.add_scheduler == "True" -%}
13+ SCHEDULE_TIMER = 20
14+ {% endif %}
15+ {% if cookiecutter.add_elastic_search == "True" -%}
16+ ELASTIC_HOST = http://es:9200
17+ {% endif %}
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " fastapi_template"
3- version = " 1.1.8 "
3+ version = " 1.2.0 "
44description = " Feature-rich robust FastAPI template"
55authors = [" Pavel Kirilin <win10@list.ru>" ]
66packages = [
@@ -26,7 +26,7 @@ pygit2 = "^1.4.0"
2626[tool .poetry .dev-dependencies ]
2727
2828[tool .poetry .scripts ]
29- fastapi_template = " fastapi_template:main"
29+ fastapi_template = " fastapi_template.main :main"
3030
3131[build-system ]
3232requires = [" poetry-core>=1.0.0" ]
You can’t perform that action at this time.
0 commit comments