Read-only mirror of https://github.com/opendatabs/verz_verf_persdat — Kanton Basel-Stadt. Issues & pull requests at the source.
  • Vue 55.2%
  • TypeScript 41.2%
  • Dockerfile 3.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Orhan Saeedi f63a8734a1 Add Docker support and update README
- Introduced Dockerfile for building and running the Nuxt application in a multi-stage setup.
- Added instructions for running the application locally with Docker in README.md.
- Created GitHub Actions workflow for building and pushing the Docker image to GitHub Container Registry.
2026-06-16 15:10:32 +02:00
.github/workflows Add Docker support and update README 2026-06-16 15:10:32 +02:00
app Add initial project setup with configuration files and components 2026-02-26 20:31:32 +01:00
server/api Update environment variable and API integration 2026-06-16 11:27:20 +02:00
.env.example Update environment variable and API integration 2026-06-16 11:27:20 +02:00
.gitignore Update environment variable and API integration 2026-06-16 11:27:20 +02:00
biome.json Add initial project setup with configuration files and components 2026-02-26 20:31:32 +01:00
bun.lock Add initial project setup with configuration files and components 2026-02-26 20:31:32 +01:00
Dockerfile Add Docker support and update README 2026-06-16 15:10:32 +02:00
LICENSE Create LICENSE 2026-02-26 20:32:42 +01:00
nuxt.config.ts Update environment variable and API integration 2026-06-16 11:27:20 +02:00
package.json Add initial project setup with configuration files and components 2026-02-26 20:31:32 +01:00
README.md Add Docker support and update README 2026-06-16 15:10:32 +02:00
tsconfig.json Add initial project setup with configuration files and components 2026-02-26 20:31:32 +01:00

Verz Verf Persdat

Nuxt application for the Verzeichnis der Verfahren mit Personendaten.

Option 1: Run directly (local dev)

bun install
bun run dev

Option 2: Run locally with Docker

Build the image:

docker build -t verz-verf-persdat:local .

Run the container (pass the API key at runtime):

docker run --rm -p 8032:8032 \
  -e NUXT_BS_API_KEY="your-api-key" \
  verz-verf-persdat:local

Or load it from your local .env file:

docker run --rm -p 8032:8032 \
  -e NUXT_BS_API_KEY="$(grep NUXT_PUBLIC_BS_API_KEY .env | cut -d= -f2-)" \
  verz-verf-persdat:local

Then open http://localhost:8032.

GitHub Container Registry workflow

The workflow in .github/workflows/docker.yml builds and pushes the Docker image to GitHub Container Registry (ghcr.io):

  • Image: ghcr.io/opendatabs/verz_verf_persdat
  • Tags: commit SHA and latest on the default branch
  • Runs on pushes to main/master, on tags, and via manual dispatch