Centralized hub for managing Windows PC locks remotely.
Create a .env file:
HA_API_URL=https://your-ha.com/api/webhook/your-webhook-id # Optional
HA_API_TOKEN=your-long-lived-ha-token # Optional
Run the container:
docker-compose up -d
| Env Variable | Required | Default | Description |
|---|---|---|---|
PORT | No | 8000 | Hub API port |
HOST | No | 0.0.0.0 | Bind address |
HA_API_URL | No | "" | Home Assistant webhook URL |
HA_API_TOKEN | No | "" | HA long-lived access token |
Windows clients need this configuration:
[hub]
url = http://your-server-ip:8000
name = Your-PC-Name
pc-lock-hub/
├── Dockerfile
├── requirements.txt
├── main.py
└── docker-compose.yml
docker build -t yourusername/pc-lock-hub:1.1.0 .
docker push yourusername/pc-lock-hub:1.1.0
Content type
Image
Digest
sha256:f4a01708d…
Size
49.7 MB
Last updated
over 1 year ago
docker pull tiger223s/pc-lock-hub