Files
datahub/deploy/podman/env/datahub-backend.env.example
2026-05-11 10:41:36 +08:00

44 lines
1.0 KiB
Bash
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.
# 部署到 /var/container/data/datahub/env/datahub-backend.env
# 仅存放非敏感配置;密码/token 由 podman secret 注入(见 scripts/create-secrets.sh
APP_NAME=datahub
APP_ENV=prod
SCAN_CACHEABLE=true
# --- PostgreSQL (TimescaleDB) ---
DB_DRIVER=pgsql
DB_HOST=datahub-postgres
DB_PORT=5432
DB_DATABASE=datahub
DB_USERNAME=datahub
DB_CHARSET=utf8
DB_COLLATION=utf8_unicode_ci
DB_PREFIX=
DB_SCHEMA=public
DB_TIMEZONE=Asia/Shanghai
DB_SSL_MODE=disable
DB_MAX_IDLE_TIME=60
# DB_PASSWORD 由 podman secret 注入
# --- RabbitMQ ---
AMQP_HOST=datahub-rabbitmq
AMQP_PORT=5672
AMQP_USER=user
AMQP_ADMIN_USER=user
AMQP_VHOST=dataflow
AMQP_MAX_RETRIES=3
AMQP_CONSUMER_DEBUG_DELAY=0
RABBITMQ_MANAGEMENT_PORT=15672
# AMQP_PASSWORD / AMQP_ADMIN_PASSWORD 由 podman secret 注入
# --- JWT ---
JWT_HEADER_NAME=Authorization
SIMPLE_JWT_TTL=7200
SIMPLE_JWT_REFRESH_TTL=2592000
SIMPLE_JWT_PREFIX=dataflow
# SIMPLE_JWT_SECRET 由 podman secret 注入
# --- 外部依赖 ---
TOOLS_HOST=https://store-api-v2.wpic-tools.com/
# TOOLS_TOKEN 由 podman secret 注入