Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
5.5 kB ยท 159 lines
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160effective: | ignore: - node_modules builders: install: fromImage: path: node digest: sha256:0e0ff40c39bc087845bfb27465a0df4ea419520094bc35842ff83dd8cbe6f9b6 label: org.opencontainers.image.base.name: docker.io/node:24-slim org.opencontainers.image.stage: install org.opencontainers.image.base.digest: sha256:0e0ff40c39bc087845bfb27465a0df4ea419520094bc35842ff83dd8cbe6f9b6 workdir: /app/ run: - 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: denoland/deno digest: sha256:fa335acdf6b72106eda2cb6a8cb5f4187e7630e357467489db4b2e7352d5e432 label: org.opencontainers.image.base.name: docker.io/denoland/deno:2.9.7 io.dofigen.version: 2.8.0 org.opencontainers.image.description: One-shot database migration runner for OpenStatus org.opencontainers.image.title: OpenStatus DB Migrate org.opencontainers.image.authors: OpenStatus Team org.opencontainers.image.vendor: OpenStatus org.opencontainers.image.base.digest: sha256:fa335acdf6b72106eda2cb6a8cb5f4187e7630e357467489db4b2e7352d5e432 org.opencontainers.image.source: https://github.com/openstatusHQ/openstatus workdir: /app/packages/db env: DENO_DIR: /tmp/deno-dir 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 entrypoint: - deno - task - migrateimages: docker.io: library: node: 24-slim: digest: sha256:0e0ff40c39bc087845bfb27465a0df4ea419520094bc35842ff83dd8cbe6f9b6 denoland: deno: 2.9.7: digest: sha256:fa335acdf6b72106eda2cb6a8cb5f4187e7630e357467489db4b2e7352d5e432resources: dofigen.yml: hash: 0726894ce94078edb23f99504defdbbb9ed0c312d689fe21f6efa64d8455ecc0 content: | ignore: - node_modules builders: install: fromImage: node:24-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: - 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: denoland/deno:2.9.7 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 # /deno-dir (image default) is root-owned; the runtime user needs a writable # cache dir for the .mts transpile emit. env: DENO_DIR: /tmp/deno-dir # deno task keeps package.json's migrate script the single source of truth. entrypoint: - deno - task - migrate