document docker container usage
All checks were successful
ci / deploy-coolify (push) Successful in 7s
ci / test (push) Successful in 7s
ci / push-image (push) Successful in 33s

This commit is contained in:
Space-Banane
2026-05-29 19:45:41 +02:00
parent d2f0dc646a
commit 13ee9dc10a

View File

@@ -82,11 +82,22 @@ uvicorn app.main:app --reload --port 8000
## Docker ## Docker
Build and run the container image directly:
```bash
docker build -t registry.reversed.dev/registry/git-activity-merger:latest .
docker run --rm -p 8000:8000 \
--env-file .env \
registry.reversed.dev/registry/git-activity-merger:latest
```
Or use Compose:
```bash ```bash
docker compose up --build docker compose up --build
``` ```
Container serves on port `8000` and mounts a named cache volume at `/app/cache`. Container serves on port `8000`. Compose mounts a named cache volume at `/app/cache`.
## Reverse Proxy Example (Nginx) ## Reverse Proxy Example (Nginx)