dpsapi deployment

This commit is contained in:
bryanpedini committed 2026-10-06 11:34:58 +02:00
1 parent 8183655897
commit 76285dae43
4 files changed
+75

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
# dpsapi Deployment
Docker PS API — [source/dpsapi](https://git.bjphoster.com/source/dpsapi).
Exposes `GET /api/v1/containers` (the running containers, like `docker ps`) behind a bearer token. Needs the Docker socket and a persistent directory for its SQLite database.
## Usage
```sh
cp env.example .env
# edit .env
docker compose up -d
```
Manage tokens and read the audit log with the same binary:
```sh
docker compose exec dpsapi /app token new "description"
docker compose exec dpsapi /app token list
docker compose exec dpsapi /app audit
```