Originally posted by **aznoks** August 7, 2024
I get an error to any questions in chat when stack deployed with custom domain or IP, based on deployment process in https://github.com/StreetLamb/tribe/blob/master/development.md:
env file:
```
# Domain
# This would be set to the production domain with an env var on deployment
DOMAIN=tribe.example.com
# Username and Password for Traefik HTTP Basic Auth
USERNAME=admin
HASHED_PASSWORD=$apr1$7UvB4Qa3$9W8H0tmwFbQ9MYljwkbCJ. # password=changethis
# Environment: local, staging, production
ENVIRONMENT=local
PROJECT_NAME="Tribe"
STACK_NAME=tribe
# Backend
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tribe.com,http://tribe.example.com,http://tribe.example.com:5173,https://tribe.example.com"
SECRET_KEY=q-Fc8nmLGFN_NWoJj2lk8r32aTejCjKfT0jqOaRcWHw
FIRST_SUPERUSER=admin@tribe.com
FIRST_SUPERUSER_PASSWORD=password
USERS_OPEN_REGISTRATION=False
MAX_UPLOAD_SIZE=50_000_000
MAX_WORKERS=1 # Sets the number of processes
# llm provider keys. Add only to models that you want to use
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
# Embedding model. See the list of supported models: https://qdrant.github.io/fastembed/examples/Supported_Models/
DENSE_EMBEDDING_MODEL=BAAI/bge-small-en-v1.5
SPARSE_EMBEDDING_MODEL=prithivida/Splade_PP_en_v1
# Langsmith: For llm observability
LANGCHAIN_TRACING_V2=
LANGCHAIN_API_KEY=
# tools/skills api keys
SERP_API_KEY=
SERPAPI_API_KEY=
# Emails
SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
EMAILS_FROM_EMAIL=admin@tribe.com
SMTP_TLS=True
SMTP_SSL=False
SMTP_PORT=587
# Postgres
POSTGRES_SERVER=localhost
POSTGRES_PORT=5432
POSTGRES_DB=app
POSTGRES_USER=tribe
POSTGRES_PASSWORD=password
SENTRY_DSN=
# Configure these with your own Docker registry images
DOCKER_IMAGE_BACKEND=backend
DOCKER_IMAGE_FRONTEND=frontend
# Qdrant
QDRANT__SERVICE__API_KEY=USpfz3DMnUnjz1dfEPnXyNNbKEjonJJG-qHOElC-FtY
```
Discussed in https://github.com/StreetLamb/tribe/discussions/106