Files

41 lines
1.1 KiB
Bash

# Copy this file to .env, fill real values, then run:
# docker compose up -d
COMPOSE_PROJECT_NAME=remnawave-minishop
IMAGE_TAG=latest
# Public hostnames. nginx.conf.template uses the same values.
WEBHOOK_HOST=webhooks.example.com
MINIAPP_HOST=app.example.com
# Optional bind addresses for Nginx.
HTTP_BIND=0.0.0.0:80
HTTPS_BIND=0.0.0.0:443
# Telegram bot token from @BotFather.
BOT_TOKEN=your_bot_token_here
# Telegram numeric user IDs allowed to open the admin panel.
ADMIN_IDS=123456789
# PostgreSQL credentials created by Docker Compose.
POSTGRES_USER=remnawave_minishop
POSTGRES_PASSWORD=change_me_to_a_long_random_password
POSTGRES_DB=remnawave_minishop
# Keep Web App enabled for the first setup.
WEBAPP_ENABLED=True
# Stable secrets. Generate with:
# openssl rand -hex 32
WEBAPP_SESSION_SECRET=change_me_to_64_hex_chars
WEBHOOK_SECRET_TOKEN=change_me_to_64_hex_chars
# Remnawave panel integration.
PANEL_API_URL=https://panel.example.com/api
PANEL_API_KEY=change_me
PANEL_WEBHOOK_SECRET=change_me
# Nginx and private Docker/LAN ranges that may set X-Forwarded-For.
TRUSTED_PROXIES=127.0.0.1,::1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,fc00::/7