Files
The-transit-Project/.env.example
T

41 lines
1.1 KiB
Bash

# Database
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=transit_db
POSTGRES_USER_AUTH=auth_user
POSTGRES_PASSWORD_AUTH=change_me
POSTGRES_USER_EMPLOYEE=employee_user
POSTGRES_PASSWORD_EMPLOYEE=change_me
POSTGRES_USER_TRANSIT=transit_user
POSTGRES_PASSWORD_TRANSIT=change_me
POSTGRES_USER_LOGGER=logger_user
POSTGRES_PASSWORD_LOGGER=change_me
# Auth
JWT_SECRET=change_me_in_production
ADMIN_USER_CODES=1234,5678
DEV_BYPASS=0
# Internal service-to-service authentication
INTERNAL_API_KEY=generate_strong_random_string_here
# Error Log API URL (used by services to forward errors)
ERROR_LOG_API_URL=https://error.xtransit.testinstance.nl/error_log
# Monitoring UI (runtime config)
AUTH_API=https://auth.xtransit.testinstance.nl
EMPLOYEE_API=https://employees.xtransit.testinstance.nl
TRANSIT_API=https://transit.xtransit.testinstance.nl
ERROR_LOG_API=https://error.xtransit.testinstance.nl
ADMIN_UI=https://admin.xtransit.testinstance.nl
# Transit API
DEV_MOCK=0
# Registry
REGISTRY_HOST=gitea.testinstance.nl
IMAGE_NAMESPACE=sven/the-transit-project
IMAGE_TAG=latest
# Portainer webhook for auto-deploy
PORTAINER_WEBHOOK_URL=