Files
dpsapi/README.md
T
2026-10-06 11:34:58 +02:00

19 lines
552 B
Markdown

# 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
```