API for managing server inventory, network, IP address, shared folders, and scheduled tasks
227
Web application for managing server inventory, network devices, IP address allocation, shared folders, and scheduled tasks. Served by nginx:alpine as a non-root user (nginx, UID 101).
docker run -d \
-p 3000:3000 \
-e SACHIKO_API_BASE_URL=https://api.example.com/api/v1 \
-e SACHIKO_OIDC_WELL_KNOWN_URL=https://idp.example.com/.well-known/openid-configuration \
-e SACHIKO_OIDC_CLIENT_ID=sachiko \
-e SACHIKO_ENVIRONMENT=production \
reiizumi/sachiko-frontend:latest
Configuration is injected at container startup via environment variables. The entrypoint script generates a config.js file that the browser loads before the application.
No rebuild is required to change configuration -- just restart the container with the new environment variables.
| Variable | Default | Description |
|---|---|---|
SACHIKO_OIDC_WELL_KNOWN_URL | (none) | OIDC Discovery endpoint for PKCE login flow. |
SACHIKO_OIDC_CLIENT_ID | sachiko | OIDC client identifier. |
SACHIKO_OIDC_USER_NAME_CLAIM | name | Token claim for display name extraction. |
SACHIKO_API_BASE_URL | (none) | API base URL (must include /api/v1). |
SACHIKO_ENVIRONMENT | production | Environment label shown in the header. |
SACHIKO_CURRENCY_SYMBOL | € | Currency symbol for price fields. |
SACHIKO_NETWORK_SUBNET | 192.168.1.0/24 | Subnet for IP address display. |
nginx:1-alpine3000nginx (UID 101) -- runs as non-rootdocker-entrypoint.sh generates /usr/share/nginx/html/config.js from SACHIKO_* env varsindex.html for client-side routingconfig.js is served with no-store cache headers so configuration changes take effect immediatelyMoon.cat - GitLab Repository
Content type
Image
Digest
sha256:cd9d2dfef…
Size
28.6 MB
Last updated
3 months ago
docker pull reiizumi/sachiko-frontend:1.0.2