CJVT updates August and September 2026
This commit is contained in:
+24
-14
@@ -1,7 +1,9 @@
|
||||
version: "3.4"
|
||||
|
||||
services:
|
||||
express:
|
||||
# In CI this image is built and pushed to the registry; on a CI-managed host it is pulled.
|
||||
# `build:` is kept so a plain `up --build` (the generic self-host path, no registry) still
|
||||
# works: REGISTRY/IMAGE_TAG default to a local name and the image is built and tagged locally.
|
||||
image: "${REGISTRY:-termportal-local}/termportal-express:${IMAGE_TAG:-local}"
|
||||
build:
|
||||
context: express
|
||||
dockerfile: Dockerfile.prod
|
||||
@@ -31,6 +33,14 @@ services:
|
||||
PORTAL_ADMIN_INITIAL_EMAIL: "${PORTAL_ADMIN_INITIAL_EMAIL:?}"
|
||||
PORTAL_ADMIN_INITIAL_PASSWORD: "${PORTAL_ADMIN_INITIAL_PASSWORD:?}"
|
||||
EXTRACTION_API_ORIGIN: "${EXTRACTION_API_ORIGIN:?}"
|
||||
# OIDC/SSO (University of Ljubljana, backed by Microsoft Entra ID). Real per-environment
|
||||
# app-registration values - see "Production only settings" in .env. No internal/external
|
||||
# origin split in prod (the University of Ljubljana's discovery document is a single
|
||||
# publicly-reachable URL), so OIDC_UNI_LJ_AUTHORIZATION_EXTERNAL_ORIGIN is intentionally
|
||||
# left unset here.
|
||||
OIDC_UNI_LJ_CLIENT_ID: "${OIDC_UNI_LJ_CLIENT_ID:?}"
|
||||
OIDC_UNI_LJ_CLIENT_SECRET: "${OIDC_UNI_LJ_CLIENT_SECRET:?}"
|
||||
OIDC_UNI_LJ_DISCOVERY_URL: "${OIDC_UNI_LJ_DISCOVERY_URL:?}"
|
||||
volumes:
|
||||
- express-data:/usr/src/app/data_files
|
||||
ports:
|
||||
@@ -60,16 +70,17 @@ services:
|
||||
command: redis-server /usr/local/etc/redis/redis.conf
|
||||
|
||||
opensearch:
|
||||
image: "${REGISTRY:-termportal-local}/termportal-opensearch:${IMAGE_TAG:-local}"
|
||||
build: opensearch
|
||||
restart: always
|
||||
environment:
|
||||
- cluster.name=term-portal
|
||||
- node.name=node-1
|
||||
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
|
||||
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
|
||||
- "DISABLE_INSTALL_DEMO_CONFIG=true" # disables execution of install_demo_configuration.sh bundled with security plugin, which installs demo certificates and security configurations to OpenSearch
|
||||
- "DISABLE_SECURITY_PLUGIN=true" # disables security plugin entirely in OpenSearch by setting plugins.security.disabled: true in opensearch.yml
|
||||
- "discovery.type=single-node" # disables bootstrap checks that are enabled when network.host is set to a non-loopback address
|
||||
cluster.name: term-portal
|
||||
node.name: node-1
|
||||
bootstrap.memory_lock: "true" # along with the memlock settings below, disables swapping
|
||||
OPENSEARCH_JAVA_OPTS: "-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
|
||||
DISABLE_INSTALL_DEMO_CONFIG: "true" # disables execution of install_demo_configuration.sh bundled with security plugin, which installs demo certificates and security configurations to OpenSearch
|
||||
DISABLE_SECURITY_PLUGIN: "true" # disables security plugin entirely in OpenSearch by setting plugins.security.disabled: true in opensearch.yml
|
||||
discovery.type: single-node # disables bootstrap checks that are enabled when network.host is set to a non-loopback address
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
@@ -95,7 +106,7 @@ services:
|
||||
- "127.0.0.1:${OS_DASHBOARDS_LISTEN_PORT:?}:5601"
|
||||
|
||||
concordancer:
|
||||
# image: ghcr.io/clarinsi/rsdo-concordancer-api-term-portal:v1.0.4
|
||||
image: "${REGISTRY:-termportal-local}/termportal-concordancer:${IMAGE_TAG:-local}"
|
||||
build:
|
||||
context: concordancer
|
||||
dockerfile: Dockerfile.prod
|
||||
@@ -115,7 +126,7 @@ services:
|
||||
|
||||
# Disabled by default. Enable if needed.
|
||||
concordancer-manager:
|
||||
image: ghcr.io/clarinsi/rsdo-concordancer-systemmanager:v1.0.4
|
||||
image: gitea.cjvt.si/rrejc/rsdo-concordancer-systemmanager:v1.1.1
|
||||
profiles:
|
||||
- concordancer-manager
|
||||
depends_on:
|
||||
@@ -129,9 +140,8 @@ services:
|
||||
- sloleks:/sloleks
|
||||
|
||||
cron:
|
||||
build:
|
||||
context: express
|
||||
dockerfile: Dockerfile.prod
|
||||
# Reuses the express image (same source); only the entrypoint/command differ below.
|
||||
image: "${REGISTRY:-termportal-local}/termportal-express:${IMAGE_TAG:-local}"
|
||||
init: true
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
Reference in New Issue
Block a user