feat: harden docker runtime validation

This commit is contained in:
thePR0M3TH3AN committed 2026-03-19 22:30:28 -04:00
1 parent 004cce2a4f
commit 83e9e3d511
32 files changed
+1360 -40

No files matched your search

+31 -2
View File
@@ -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.