No description
- Python 62.1%
- Svelte 22.5%
- TypeScript 9.4%
- CSS 5%
- Dockerfile 0.5%
- Other 0.5%
|
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m12s
|
||
|---|---|---|
| .forgejo/workflows | ||
| aurral@9b98914969 | ||
| backend | ||
| docs | ||
| frontend | ||
| Lidarr@58a1d9357b | ||
| .dockerignore | ||
| .gitignore | ||
| docker-compose.example.yml | ||
| Dockerfile | ||
| README.md | ||
Ziggy
Ziggy runs as a single FastAPI service that serves the SvelteKit static frontend
and the /api backend from the same port.
Docker
Build the image:
docker build -t ziggy .
Run it with a persistent SQLite database under /data:
docker run --rm -p 8000:8000 \
-v ziggy-data:/data \
-e ZIGGY_BOOTSTRAP_ADMIN_USERNAME='<admin-username>' \
-e ZIGGY_BOOTSTRAP_ADMIN_PASSWORD='<admin-password>' \
ziggy
The compose example uses the same /data volume and requires bootstrap admin
values from the environment:
ZIGGY_BOOTSTRAP_ADMIN_USERNAME='<admin-username>' \
ZIGGY_BOOTSTRAP_ADMIN_PASSWORD='<admin-password>' \
docker compose -f docker-compose.example.yml up --build