Init
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# Telemt Panel — standalone quick-start (Linux: host network рядом с Telemt)
|
||||
# Docs: docs/install.md
|
||||
#
|
||||
# cp .env.example .env # заполните JWT_SECRET, BOOTSTRAP_PASSWORD, TELEMT_API_URL
|
||||
# docker compose up -d
|
||||
|
||||
services:
|
||||
panel:
|
||||
image: git.shts.su/denozord/telemtPanel:${PANEL_IMAGE_TAG:-latest}
|
||||
container_name: telemt-panel
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
PANEL_MODE: ${PANEL_MODE:-standalone}
|
||||
TELEMT_API_URL: ${TELEMT_API_URL:-http://127.0.0.1:9091}
|
||||
TELEMT_AUTH_HEADER: ${TELEMT_AUTH_HEADER:-}
|
||||
DATABASE_URL: sqlite:/data/app.db
|
||||
STATIC_DIR: /app/static
|
||||
NODE_ENV: production
|
||||
SERVER_PORT: ${SERVER_PORT:-8080}
|
||||
JWT_SECRET: ${JWT_SECRET:?set JWT_SECRET in .env}
|
||||
PANEL_ENCRYPTION_KEY: ${PANEL_ENCRYPTION_KEY:-}
|
||||
PANEL_PUBLIC_URL: ${PANEL_PUBLIC_URL:-http://127.0.0.1:8080}
|
||||
BOOTSTRAP_USERNAME: ${BOOTSTRAP_USERNAME:-admin}
|
||||
BOOTSTRAP_PASSWORD: ${BOOTSTRAP_PASSWORD:-}
|
||||
LOG_LEVEL: ${LOG_LEVEL:-info}
|
||||
volumes:
|
||||
- panel_data:/data
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
volumes:
|
||||
panel_data:
|
||||
name: telemt_panel_data
|
||||
Reference in New Issue
Block a user