♻️ Simplify domains with api.example.com
for API and dashboard.example.com
for frontend, improve local development with localhost
(#1344)
This commit is contained in:

committed by
GitHub

parent
110a59c71d
commit
79d240f5b7
8
.env
8
.env
@@ -1,6 +1,14 @@
|
||||
# Domain
|
||||
# This would be set to the production domain with an env var on deployment
|
||||
# used by Traefik to transmit traffic and aqcuire TLS certificates
|
||||
DOMAIN=localhost
|
||||
# To test the local Traefik config
|
||||
# DOMAIN=localhost.tiangolo.com
|
||||
|
||||
# Used by the backend to generate links in emails to the frontend
|
||||
FRONTEND_HOST=http://localhost:5173
|
||||
# In staging and production, set this env var to the frontend host, e.g.
|
||||
# FRONTEND_HOST=https://dashboard.example.com
|
||||
|
||||
# Environment: local, staging, production
|
||||
ENVIRONMENT=local
|
||||
|
Reference in New Issue
Block a user