Fix deploy without Go: Docker installer, optional .env

This commit is contained in:
vpn-panel
2026-05-21 18:58:35 +03:00
parent 3c2f5226d1
commit 74d5d34679
4 changed files with 75 additions and 22 deletions
+11 -4
View File
@@ -24,16 +24,23 @@
Полная инструкция: **[DEPLOY.md](DEPLOY.md)**
### Кратко
### Кратко (без Go, только Docker)
```bash
git clone https://git.evilfox.cc/test/vpn-panel.git
cd vpn-panel
docker compose up -d postgres
go run ./cmd/install # или ./install после сборки
chmod +x scripts/setup.sh
./scripts/setup.sh
```
docker compose up -d --build
Или вручную:
```bash
docker compose up -d postgres
docker compose build install
docker compose --profile tools run --rm install # создаёт .env, хост БД: postgres
docker compose up -d --build panel
```
Панель: `http://ВАШ_ДОМЕН:8080`