32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
# Public exposed port (only nginx is exposed)
|
|
NGINX_PORT=8080
|
|
|
|
# REQUIRED absolute host paths.
|
|
# They must exist and be writable by docker daemon.
|
|
HOST_DATA_ROOT=/opt/dashboard-nanobot/data
|
|
HOST_BOTS_WORKSPACE_ROOT=/opt/dashboard-nanobot/workspace/bots
|
|
|
|
# Optional custom image tags
|
|
BACKEND_IMAGE_TAG=latest
|
|
FRONTEND_IMAGE_TAG=latest
|
|
|
|
# Optional build acceleration for China network
|
|
# If you mirror upstream container images, replace these with your mirror registry image names.
|
|
PYTHON_BASE_IMAGE=python:3.12-slim
|
|
NODE_BASE_IMAGE=node:20-alpine
|
|
NGINX_BASE_IMAGE=nginx:alpine
|
|
|
|
# Python package index mirror (recommended in CN)
|
|
PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
|
|
PIP_TRUSTED_HOST=pypi.tuna.tsinghua.edu.cn
|
|
|
|
# Frontend package registry mirror (used by yarn, recommended in CN)
|
|
NPM_REGISTRY=https://registry.npmmirror.com
|
|
|
|
# Optional DB override.
|
|
# Keep empty to use SQLite at:
|
|
# sqlite:///{HOST_DATA_ROOT}/nanobot_dashboard.db
|
|
# DATABASE_URL=postgresql+psycopg://user:password@127.0.0.1:5432/nanobot_dashboard
|
|
# DATABASE_URL=mysql+pymysql://user:password@127.0.0.1:3306/nanobot_dashboard
|
|
DATABASE_URL=
|