Files
npm-statuspage/docker-compose.yml

21 lines
610 B
YAML
Raw Normal View History

services:
app:
image: ${IMAGE}
restart: unless-stopped
ports:
- "${PORT:-3035}:3035"
environment:
- NPM_BASE_URL=${NPM_BASE_URL}
- NPM_EMAIL=${NPM_EMAIL}
- NPM_SECRET=${NPM_SECRET}
- NPM_INCLUDE_PATTERNS=${NPM_INCLUDE_PATTERNS}
# Admin UI (/admin) is disabled entirely if this is unset.
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
volumes:
# Named volume, not a bind mount into the build context — the SQLite
# DB holding host overrides / manual targets must survive redeploys.
- statuspage-data:/app/data
volumes:
statuspage-data: