# Copy this file to .env, fill real values, then run:
#   docker compose up -d

COMPOSE_PROJECT_NAME=remnawave-minishop
IMAGE_TAG=latest

# Public hostnames configured as Pangolin resources.
WEBHOOK_HOST=webhooks.example.com
MINIAPP_HOST=app.example.com

# Newt credentials from Pangolin site settings.
PANGOLIN_ENDPOINT=https://pangolin.example.com
NEWT_ID=change_me
NEWT_SECRET=change_me

# 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

# Pangolin/Newt 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
