🔧 chore(startup-backend.sh): modify startup script to start the backend in development or production mode based on the ENVIRONMENT variable
43 lines
913 B
Text
43 lines
913 B
Text
DOMAIN=localhost
|
|
STACK_NAME=langflow-stack
|
|
ENVIRONMENT=development
|
|
|
|
TRAEFIK_PUBLIC_NETWORK=traefik-public
|
|
TRAEFIK_TAG=langflow-traefik
|
|
TRAEFIK_PUBLIC_TAG=traefik-public
|
|
|
|
# Database configuration
|
|
DB_USER=langflow
|
|
DB_PASSWORD=langflow
|
|
DB_HOST=db
|
|
DB_PORT=5432
|
|
DB_NAME=langflow
|
|
|
|
# Logging configuration
|
|
LOG_LEVEL=debug
|
|
|
|
# DB configuration
|
|
POSTGRES_USER=langflow
|
|
POSTGRES_PASSWORD=langflow
|
|
POSTGRES_DB=langflow
|
|
POSTGRES_PORT=5432
|
|
|
|
# Flower configuration
|
|
LANGFLOW_CACHE_TYPE=redis
|
|
LANGFLOW_REDIS_HOST=queue
|
|
LANGFLOW_REDIS_PORT=6379
|
|
LANGFLOW_REDIS_DB=0
|
|
LANGFLOW_REDIS_EXPIRE=3600
|
|
LANGFLOW_REDIS_PASSWORD=
|
|
FLOWER_UNAUTHENTICATED_API=True
|
|
BROKER_URL=redis://queue:6379/0
|
|
RESULT_BACKEND=redis://queue:6379/0
|
|
C_FORCE_ROOT="true"
|
|
|
|
# Frontend configuration
|
|
VITE_PROXY_TARGET=http://backend:7860/api/
|
|
BACKEND_URL=http://backend:7860
|
|
|
|
# PGAdmin configuration
|
|
PGADMIN_DEFAULT_EMAIL=admin@admin.com
|
|
PGADMIN_DEFAULT_PASSWORD=admin
|