blocksos/prod-blocks-localization:tagname
SELISE Blocks Localization is the localization and translation management service for the SELISE Blocks platform. It provides the web-based interface and backend APIs required to manage languages, translation keys, glossaries, and localized resources.
The application combines an ASP.NET Core / .NET 10 backend with a React/Vite/TypeScript frontend, packaged as a single integrated application. The production frontend is built into the ASP.NET Core application's wwwroot directory and served by the API host. A separate background Worker is included for message consumption and background processing.
The Docker image:
blocksos/prod-blocks-localization:tagname
contains the production build of the Blocks Localization application and is intended to be used as the runtime image for deploying the Blocks Localization service.
The image includes:
Blocks Localization follows an integrated frontend/backend architecture:
┌──────────────────────┐
│ User / Client │
└──────────┬───────────┘
│
▼
┌──────────────────────┐
│ Ingress / Gateway │
└──────────┬───────────┘
│
▼
┌─────────────────────────────────────┐
│ SELISE Blocks Localization │
│ │
│ ASP.NET Core / Kestrel │
│ │
│ ┌─────────────┐ ┌────────────────┐ │
│ │ REST APIs │ │ React SPA │ │
│ └─────────────┘ └────────────────┘ │
│ │
│ Image: │
│ blocksos/prod-blocks-localization │
│ :tagname │
└────────────────┬────────────────────┘
│
┌────────────────┼────────────────┐
▼ ▼ ▼
Database Messaging Blocks Services
│
▼
┌──────────────────────┐
│ Localization Worker │
│ │
│ Background Consumers │
└──────────────────────┘
The React production build is served from server/Api/wwwroot by the ASP.NET Core API host, while the Worker handles background consumers separately.
The application API is configured to run on port:
5000
The Vite development server uses port:
4000
For the production Docker image, the primary application port is 5000.
Example Docker run command:
docker run -d \
--name blocks-localization \
-p 5000:5000 \
blocksos/prod-blocks-localization:tagname
docker pull blocksos/prod-blocks-localization:tagname
The image can be deployed to Kubernetes using the following container configuration:
containers:
- name: blocks-localization
image: blocksos/prod-blocks-localization:tagname
ports:
- containerPort: 5000
The application can then be exposed through a Kubernetes Service and Ingress or an external application gateway.
The Docker image follows the standard Docker image naming convention:
<organization>/<repository>:<tag>
For Blocks Localization:
| Component | Value |
|---|---|
| Registry | Docker Hub |
| Organization | blocksos |
| Repository | prod-blocks-localization |
| Tag | tagname |
| Full Image | blocksos/prod-blocks-localization:tagname |
The application supports BLOCKS_* environment variables for configuring the frontend and runtime environment.
Important configuration variables include:
| Variable | Purpose |
|---|---|
BLOCKS_API_BASE_URL | API base URL |
BLOCKS_X_BLOCKS_KEY | Blocks API/project key |
BLOCKS_GOOGLE_SITE_KEY | CAPTCHA/authentication configuration |
BLOCKS_CONSTRUCT_URL | Blocks Construct service URL |
BLOCKS_APP_URL | Application URL |
BLOCKS_BASE_DOMAIN | Base/help domain |
BLOCKS_BLOCKED_MENU | Menu filtering configuration |
BLOCKS_GITHUB_CLIENT_ID | GitHub OAuth client ID |
BLOCKS_VAULT_TYPE | Vault configuration |
The Blocks Localization container provides the application runtime. External infrastructure and supporting services are deployed separately according to the target environment.
Depending on the deployment configuration, Blocks Localization may communicate with external services such as:
These dependencies are not bundled into the application container.
The image is intended for production deployment environments where the container can be managed using Docker, Kubernetes, or another container orchestration platform.
A typical production setup consists of:
Internet / Users
│
▼
┌─────────────────┐
│ Gateway / WAF │
└────────┬────────┘
│
▼
┌─────────────────┐
│ Kubernetes / │
│ Container │
│ Platform │
└────────┬────────┘
│
▼
┌─────────────────────────────┐
│ Blocks Localization │
│ │
│ blocksos/prod-blocks- │
│ localization:tagname │
│ │
│ ASP.NET Core + React │
└────────────┬────────────────┘
│
┌────────────┼─────────────┐
▼ ▼ ▼
Database Messaging Platform APIs
│
▼
┌───────────────────┐
│ Localization │
│ Worker │
└───────────────────┘
The complete source code and documentation for SELISE Blocks Localization are available on GitHub:
GitHub Repository:
https://github.com/SELISEdigitalplatforms/blocks-localization
This project is licensed under the MIT License.
The repository includes an MIT LICENSE file.
SELISE Blocks Localization is the localization and translation management service for the SELISE Blocks platform. The blocksos/prod-blocks-localization:tagname Docker image provides a deployable production container for the service, combining the ASP.NET Core backend, REST APIs, React-based web console, and supporting application components.
Content type
Image
Digest
sha256:4d4d6eaab…
Size
83.4 MB
Last updated
1 day ago
docker pull blocksos/prod-blocks-localization:6fff8a1d248d3231a5fc0cd78f6c27fa8943b152