Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
effective: |
ignore:
- node_modules
builders:
install:
fromImage:
path: node
digest: sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146
label:
org.opencontainers.image.base.name: docker.io/node:26.8.1-slim
org.opencontainers.image.stage: install
org.opencontainers.image.base.digest: sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146
workdir: /app/
run:
- npm install -g [email protected]
- corepack enable pnpm
- pnpm install --prod --frozen-lockfile --filter=@openstatus/db... --loglevel debug
cache:
- target: /root/.local/share/pnpm/store
bind:
- target: pnpm-workspace.yaml
source: pnpm-workspace.yaml
- target: pnpm-lock.yaml
source: pnpm-lock.yaml
- target: package.json
source: package.json
- target: packages/db/package.json
source: packages/db/package.json
- target: packages/assertions/package.json
source: packages/assertions/package.json
- target: packages/locales/package.json
source: packages/locales/package.json
- target: packages/regions/package.json
source: packages/regions/package.json
- target: packages/theme-store/package.json
source: packages/theme-store/package.json
- target: packages/utils/package.json
source: packages/utils/package.json
fromImage:
path: node
digest: sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146
label:
org.opencontainers.image.description: One-shot database migration runner for OpenStatus
org.opencontainers.image.source: https://github.com/openstatusHQ/openstatus
org.opencontainers.image.authors: OpenStatus Team
org.opencontainers.image.title: OpenStatus DB Migrate
io.dofigen.version: 2.8.0
org.opencontainers.image.base.digest: sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146
org.opencontainers.image.vendor: OpenStatus
org.opencontainers.image.base.name: docker.io/node:26.8.1-slim
workdir: /app/packages/db
copy:
- paths:
- packages/db
target: /app/packages/db
- paths:
- packages/assertions
target: /app/packages/assertions
- paths:
- packages/locales
target: /app/packages/locales
- paths:
- packages/regions
target: /app/packages/regions
- paths:
- packages/theme-store
target: /app/packages/theme-store
- paths:
- packages/utils
target: /app/packages/utils
- fromBuilder: install
paths:
- /app/node_modules
target: /app/node_modules
- fromBuilder: install
paths:
- /app/packages
target: /app/packages
root:
run:
- apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/*
entrypoint:
- npm
- run
- migrate
images:
docker.io:
library:
node:
26.8.1-slim:
digest: sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146
resources:
dofigen.yml:
hash: 572ca4aeae67f278cd1a866120f0be2e73539059a030e67ad7f593d685006c1f
content: |
ignore:
- node_modules
builders:
install:
fromImage: node:26.8.1-slim
workdir: /app/
labels:
org.opencontainers.image.stage: install
bind:
- pnpm-workspace.yaml
- pnpm-lock.yaml
- package.json
- packages/db/package.json
- packages/assertions/package.json
- packages/locales/package.json
- packages/regions/package.json
- packages/theme-store/package.json
- packages/utils/package.json
run:
# Node 25+ no longer bundles corepack
- npm install -g [email protected]
- corepack enable pnpm
- pnpm install --prod --frozen-lockfile --filter=@openstatus/db... --loglevel debug
cache:
- /root/.local/share/pnpm/store
# One-shot migration runner: drizzle's migrator reads drizzle/ from disk at
# runtime, so the image ships source + node_modules instead of a compiled binary.
fromImage: node:26.8.1-slim
# libsql's native TLS reads the system CA store, which the slim image lacks.
root:
run:
# One chained command: dofigen emits a heredoc RUN, which doesn't stop on a failed line
- apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/*
workdir: /app/packages/db
labels:
org.opencontainers.image.title: OpenStatus DB Migrate
org.opencontainers.image.description: One-shot database migration runner for OpenStatus
org.opencontainers.image.source: https://github.com/openstatusHQ/openstatus
org.opencontainers.image.vendor: OpenStatus
org.opencontainers.image.authors: OpenStatus Team
# Workspace package sources ship too (not just their node_modules) so pnpm's
# @openstatus/* symlinks resolve and seed.mts can run via the same image.
copy:
- packages/db /app/packages/db
- packages/assertions /app/packages/assertions
- packages/locales /app/packages/locales
- packages/regions /app/packages/regions
- packages/theme-store /app/packages/theme-store
- packages/utils /app/packages/utils
- fromBuilder: install
source: /app/node_modules
target: /app/node_modules
- fromBuilder: install
source: /app/packages
target: /app/packages
# npm run keeps package.json's migrate script the single source of truth.
entrypoint:
- npm
- run
- migrate