mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2026-11-07 15:10:42 +00:00
feat: harden docker runtime validation
This commit is contained in:
1 parent
004cce2a4f
commit
83e9e3d511
32 files changed
+1360
-40
No files matched your search
+31
-2
@@ -11,9 +11,38 @@ docker pull ghcr.io/voxvera/voxvera:latest
|
||||
|
||||
# run the experimental container with flyers stored in ./flyers
|
||||
mkdir -p flyers
|
||||
docker run -it --rm -v "$(pwd)/flyers:/flyers" ghcr.io/voxvera/voxvera
|
||||
docker run -d \
|
||||
--name voxvera \
|
||||
--restart unless-stopped \
|
||||
-v "$(pwd)/flyers:/flyers" \
|
||||
ghcr.io/voxvera/voxvera:latest
|
||||
```
|
||||
|
||||
The container stores runtime state under `/flyers`, seeds a default `config.json` if needed, and retries `voxvera start-all` periodically after the initial `quickstart`.
|
||||
The container now uses a dedicated entrypoint that:
|
||||
- stores runtime state under `/flyers`
|
||||
- seeds `/flyers/config.json` if needed
|
||||
- starts an in-container Tor daemon on `127.0.0.1:9050/9051`
|
||||
- bootstraps a default site when `/flyers/host` is empty
|
||||
- runs `voxvera start-all` on startup and retries it periodically
|
||||
- exposes a container healthcheck based on `voxvera doctor --json`
|
||||
|
||||
Useful commands:
|
||||
|
||||
```bash
|
||||
docker logs -f voxvera
|
||||
docker exec -it voxvera voxvera doctor --json
|
||||
docker exec -it voxvera voxvera autostart status --json
|
||||
```
|
||||
|
||||
If you prefer Compose:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
voxvera:
|
||||
image: ghcr.io/voxvera/voxvera:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./flyers:/flyers
|
||||
```
|
||||
|
||||
Use this path for testing only until the container runtime and background recovery behavior are validated end-to-end.
|
||||
Reference in new issue
Block a user