Backend Image for: https://github.com/log-forge/logforge
50K+
/docsversion: "3.9"
services:
logforge-backend:
build:
context: .
dockerfile: Dockerfile
image: logforge-backend
container_name: ${BACKEND_SERVICE_CONTAINER_NAME:-logforge-backend}
environment:
PORT: "${BACKEND_SERVICE_PORT:-8000}"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
ports:
- "${EXPOSED_BACKEND_PORT:-8000}:${BACKEND_SERVICE_PORT:-8000}"
By default, LogForge backend is exposed at: http://localhost:8000โ
| Mount | Purpose |
|---|---|
/var/run/docker.sock | Access Docker container logs |
| Variable | Default | Description |
|---|---|---|
PORT | 8000 | Port FastAPI server listens on |
BACKEND_SERVICE_CONTAINER_NAME | logforge-backend | Container name override |
EXPOSED_BACKEND_PORT | 8000 | Port exposed to the host system |
After you build: http://localhost:8000/docsโ
๐ค Contributing Have a feature idea or bug report? Open an issue or submit a PR at LogForge Backendโ
Content type
Image
Digest
sha256:c1fc68b1cโฆ
Size
48.5 MB
Last updated
4 months ago
docker pull madanb13/logforge-backend