Files
configcenter/.env.example

20 lines
641 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
HTTP_ADDR=:8080
DATABASE_URL=postgres://configcenter:configcenter@localhost:5432/configcenter?sslmode=disable
ETCD_ENDPOINTS=http://localhost:2379
ETCD_DIAL_TIMEOUT=5s
# 生产环境使用 https endpoint并配置以下 mTLS 文件。
ETCD_TLS_CA_FILE=
ETCD_TLS_CERT_FILE=
ETCD_TLS_KEY_FILE=
ETCD_TLS_SERVER_NAME=
OUTBOX_INTERVAL=500ms
OUTBOX_BATCH_SIZE=50
OUTBOX_MAX_RETRY=12
CORS_ALLOWED_ORIGINS=http://localhost:5173
AUTH_ENABLED=false
JWT_SECRET=replace-with-at-least-32-random-characters
JWT_TTL=8h
BOOTSTRAP_ADMIN_USERNAME=admin
BOOTSTRAP_ADMIN_PASSWORD=replace-with-at-least-12-characters
BOOTSTRAP_ADMIN_DISPLAY_NAME=Administrator