1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-10-18 00:50:07 +00:00

feat(docker): modernize Dockerfile, add runit init script, and provide docker-compose setup

- Add python3-libvirt to apt and configure --system-site-packages for zero-compilation build
- Introduce 10_webvirtcloud_init.sh to handle container startup, migrations, and SQLite persistence
- Exclude host settings.py in .dockerignore for clean builds from settings.py.template
- Add docker-compose.yml with persistent data and SSH volume mounts
- Document Docker Compose deployment in README.md
This commit is contained in:
catborise 2026-09-25 21:58:19 +03:00
parent 56fdd07802
commit b1a843e846
5 changed files with 117 additions and 15 deletions

View file

@ -38,6 +38,21 @@ chmod 744 install.sh
./install.sh
```
## Docker Deployment (Docker Compose)
Run WebVirtCloud in a container with persistent volumes for data and SSH keys:
```bash
# 1. Clone repository:
git clone https://github.com/retspen/webvirtcloud
cd webvirtcloud
# 2. Start services:
docker compose up -d
```
Access the panel at `http://<server-ip>` and noVNC console at port `6080`.
## Manual Installation
### Generate secret key