chore(docker): clean up docker-compose-simple.yml and remove backup file
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- Remove inline comments from docker-compose-simple.yml for cleaner configuration - Delete unused docker-compose.txt.backup file - Remove unused volume definitions (servers-data, users-data) - Add docker-compose-simple.yml to .gitignore to prevent accidental commits - Simplify environment variable organization by removing comment separators - Improve file maintainability by reducing comment clutter
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# MC Panel приложение
|
||||
mc-panel:
|
||||
build:
|
||||
context: .
|
||||
@@ -11,27 +10,17 @@ services:
|
||||
ports:
|
||||
- "80:8000" # Прямой доступ через порт 80
|
||||
environment:
|
||||
# ZITADEL OpenID Connect
|
||||
- ZITADEL_ISSUER=${ZITADEL_ISSUER}
|
||||
- ZITADEL_CLIENT_ID=${ZITADEL_CLIENT_ID}
|
||||
- ZITADEL_CLIENT_SECRET=${ZITADEL_CLIENT_SECRET}
|
||||
|
||||
# URLs
|
||||
- BASE_URL=${BASE_URL:-http://localhost}
|
||||
- FRONTEND_URL=${FRONTEND_URL:-http://localhost}
|
||||
|
||||
# Security
|
||||
- SECRET_KEY=${SECRET_KEY:-change-this-in-production}
|
||||
|
||||
# Python
|
||||
- PYTHONUNBUFFERED=1
|
||||
volumes:
|
||||
# Персистентное хранилище для серверов
|
||||
- ./data/servers:/app/backend/servers
|
||||
# Персистентное хранилище для пользователей и тикетов
|
||||
- ./data/users.json:/app/backend/users.json
|
||||
- ./data/tickets.json:/app/backend/tickets.json
|
||||
# Папка для данных демонов
|
||||
- ./data:/app/data
|
||||
networks:
|
||||
- mc-panel-network
|
||||
@@ -44,8 +33,4 @@ services:
|
||||
|
||||
networks:
|
||||
mc-panel-network:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
servers-data:
|
||||
users-data:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user