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:
parent
56fdd07802
commit
b1a843e846
5 changed files with 117 additions and 15 deletions
15
README.md
15
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue