mirror of
https://github.com/opendatabs/verz_verf_persdat.git
synced 2026-08-26 12:24:43 +00:00
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%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- 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. |
||
| .github/workflows | ||
| app | ||
| server/api | ||
| .env.example | ||
| .gitignore | ||
| biome.json | ||
| bun.lock | ||
| Dockerfile | ||
| LICENSE | ||
| nuxt.config.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
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
lateston the default branch - Runs on pushes to
main/master, on tags, and via manual dispatch