Configuration
PockerDeck is intentionally zero-config for most use cases — sensible defaults are baked in. The only common setting you may want to change is the port.
Changing the port
Edit docker-compose.yml and change the host-side port number (left of the colon):
- The container always listens on
8000internally. Only the left-hand side needs changing.
Then restart:
Health check
The official Docker image ships with a built-in health check that polls the / endpoint every 30 seconds:
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/')"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
This is already included in docker-compose.yml. If you use a custom docker run command, you can add --health-cmd to replicate it.
Environment variables
PockerDeck currently stores all room state in memory. No database connection strings or API keys are required. Future versions may expose env vars for persistence options.
Reverse proxy (HTTPS)
When running behind a reverse proxy such as Nginx or Caddy, make sure WebSocket upgrade headers are forwarded:
Info
Without proper WebSocket proxying, participants will be unable to connect and will see a "Connection error" badge.