👷 Add continuous deployment and refactors needed for it (#667)

This commit is contained in:
Sebastián Ramírez
2024-03-11 16:34:18 +01:00
committed by GitHub
parent bb7da40c87
commit b9cbb4f8f4
13 changed files with 337 additions and 107 deletions

17
.env
View File

@@ -1,11 +1,11 @@
# Update this with your app domain
# Domain
# This would be set to the production domain with an env var on deployment
DOMAIN=localhost
# DOMAIN=localhost.tiangolo.com
SERVER_HOST=http://localhost
# Environment: local, staging, production
ENVIRONMENT=local
PROJECT_NAME="FastAPI Project"
STACK_NAME=fastapi-project
# Backend
@@ -13,6 +13,9 @@ BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,h
SECRET_KEY=changethis
FIRST_SUPERUSER=admin@example.com
FIRST_SUPERUSER_PASSWORD=changethis
USERS_OPEN_REGISTRATION=False
# Emails
SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
@@ -20,12 +23,10 @@ EMAILS_FROM_EMAIL=info@example.com
SMTP_TLS=True
SMTP_PORT=587
USERS_OPEN_REGISTRATION=False
# Postgres
POSTGRES_SERVER=db
POSTGRES_USER=postgres
POSTGRES_SERVER=localhost
POSTGRES_DB=app
POSTGRES_USER=postgres
POSTGRES_PASSWORD=changethis
# PgAdmin