This commit is contained in:
2026-05-10 02:29:38 +03:00
parent efcf3c7905
commit 37b9a13d52
8 changed files with 1158 additions and 140 deletions
+5 -8
View File
@@ -1,6 +1,6 @@
version: '3.9'
# Core + Panel deployment (main server)
# Core + Panel deployment for the main server.
# Usage: docker compose -f docker-compose.base.yml up -d
services:
@@ -19,23 +19,19 @@ services:
restart: unless-stopped
environment:
PORT: 3000
# PostgreSQL — use an external instance or add a postgres service below
DB_HOST: your-postgres-host
DB_PORT: 5432
DB_USER: postgres
DB_PASSWORD: change-me
DB_NAME: nexuma
# Redis
REDIS_HOST: redis
REDIS_PORT: 6379
# JWT — use long random strings
JWT_SECRET: change-me
JWT_REFRESH_SECRET: change-me
JWT_SECRET: replace-with-long-random-secret
JWT_REFRESH_SECRET: replace-with-another-long-random-secret
JWT_EXPIRES_IN: 15m
JWT_REFRESH_EXPIRES_IN: 7d
# Optional: Telegram bot (enables OAuth login and notifications)
CORS_ORIGINS: https://panel.example.com
# TELEGRAM_BOT_TOKEN: your-bot-token
# CORS_ORIGINS: https://your-domain.com
ports:
- "3000:3000"
depends_on:
@@ -55,6 +51,7 @@ services:
restart: unless-stopped
environment:
NUXT_CORE_URL: http://core:3000
NUXT_PUBLIC_API_BASE: /api
ports:
- "3010:3000"
depends_on: