42 lines
1.1 KiB
Bash
42 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. Caddyfile uses the same values and gets HTTPS certificates.
|
|
WEBHOOK_HOST=webhooks.example.com
|
|
MINIAPP_HOST=app.example.com
|
|
|
|
# Optional bind addresses for Caddy.
|
|
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
|
|
|
|
# Caddy and Docker network ranges that may set X-Forwarded-For.
|
|
TRUSTED_PROXIES=127.0.0.1,::1,172.16.0.0/12
|
|
|