35 lines
1.5 KiB
Plaintext

# Key Share Node Docker Compose Environment Variables
# Copy this file to .env and modify the values according to your setup
# Database Configuration
## PostgreSQL database username
DB_USER=postgres
## PostgreSQL database password
DB_PASSWORD=your_secure_password
## PostgreSQL database name
DB_NAME=key_share_node
## Host directory path for PostgreSQL data persistence (mounted to container)
PG_DATA_DIR=/opt/key_share_node/pg_data
## Host directory path for database dump files storage (mounted to container)
## NOTE: This directory must be writable by the Node.js user (UID:1000, GID:1000)
## Example: chown -R 1000:1000 /opt/key_share_node/dump
DUMP_DIR=/opt/key_share_node/dump
## Host directory path for log files storage (mounted to container)
## NOTE: This directory must be writable by the Node.js user (UID:1000, GID:1000)
## Example: chown -R 1000:1000 /opt/key_share_node/logs
LOG_DIR=/opt/key_share_node/logs
# Server Configuration
## Port number for the Key Share Node server
SERVER_PORT=4201
## Admin password for database dump/restore operations authentication
ADMIN_PASSWORD=admin_password
## Host file path to encryption secret file (used to create docker secret)
ENCRYPTION_SECRET_FILE_PATH=/opt/key_share_node/encryption_secret.txt
## Telegram bot token for Telegram login authentication
TELEGRAM_BOT_TOKEN=telegram_bot_token
## Base URL of the Oko API server for telemetry reporting
OKO_API_BASE_URL="http://localhost:4200"
## Password for authenticating telemetry reports sent to Oko API
KS_NODE_REPORT_PASSWORD="ks-node-report-password"