Compare commits
No commits in common. "c08cb4f89cfaca508404ab1c7aefddf0b4a60e88" and "e4b6823bcd55249445eee92cd02dfdc64c25ff0f" have entirely different histories.
c08cb4f89c
...
e4b6823bcd
|
@ -1,29 +1,33 @@
|
||||||
#OpenCDMP
|
#Nginx#
|
||||||
PROXY_TAG=mainline-alpine
|
PROXY_TAG=mainline-alpine
|
||||||
|
|
||||||
|
#OpenCDMP#
|
||||||
MAIN_APP_TAG=2.5.8
|
MAIN_APP_TAG=2.5.8
|
||||||
NOTIFICATION_APP_TAG=0.0.7
|
NOTIFICATION_APP_TAG=0.0.7
|
||||||
ANNOTATION_APP_TAG=0.0.7
|
ANNOTATION_APP_TAG=0.0.7
|
||||||
|
|
||||||
|
#File-Transformers#
|
||||||
DOCX_APP_TAG=0.0.23
|
DOCX_APP_TAG=0.0.23
|
||||||
JSON_APP_TAG=0.0.18
|
JSON_APP_TAG=0.0.18
|
||||||
|
|
||||||
|
#Zenodo#
|
||||||
ZENODO_APP_TAG=2.1.7
|
ZENODO_APP_TAG=2.1.7
|
||||||
|
|
||||||
#Other Services
|
#Microservices#
|
||||||
POSTGRES_TAG=16-alpine
|
POSTGRES_TAG=16-alpine
|
||||||
ELK_TAG=8.13.0
|
ELK_TAG=8.13.0
|
||||||
KEYCLOAK_TAG=24.0.2
|
KEYCLOAK_TAG=24.0.2
|
||||||
RABBITMQ_TAG=3.15-management
|
RABBITMQ_TAG=3.15-management
|
||||||
PDF_SERVICE_TAG=8.9.2
|
GOTENBERG_TAG=8.9.2
|
||||||
|
|
||||||
#Docker configuration
|
#Application configuration
|
||||||
DOCKER_REGISTRY=crepo.cite.gr/
|
DOCKER_REGISTRY=crepo.cite.gr/
|
||||||
PROFILE=test
|
PROFILE=test
|
||||||
|
|
||||||
#Port settings
|
#port speficiations
|
||||||
SERVER_PORT=8080
|
SERVER_PORT=8080
|
||||||
PROXY_APP_PORT=8081
|
PROXY_APP_PORT=8081
|
||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT=5432
|
||||||
|
|
||||||
#Storage paths
|
#DOCS#
|
||||||
CONFIG_FILES_PATH=./config-files/
|
DOCS_TAG=2.4.8
|
||||||
LOG_FILES_PATH=./logs/
|
|
||||||
STORAGE_PATH=./storage/
|
|
|
@ -7,13 +7,13 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "${PROXY_APP_PORT}:8081"
|
- "${PROXY_APP_PORT}:8081"
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_FILES_PATH}proxy/nginx.conf:/etc/nginx/nginx.conf
|
- ./proxy/nginx.conf:/etc/nginx/nginx.conf
|
||||||
- ${CONFIG_FILES_PATH}proxy/ProxyNginx.conf:/etc/nginx/conf.d/default.conf
|
- ./proxy/ProxyNginx.conf:/etc/nginx/conf.d/default.conf
|
||||||
- ${LOG_FILES_PATH}proxy:/tmp/logs
|
- ./logs/proxy:/tmp/logs
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-proxy-network
|
- opencdmp-proxy-network
|
||||||
|
|
||||||
############################## OPENCDMP APP #################################
|
############################## OPENDMP APP #################################
|
||||||
opencdmp.backend:
|
opencdmp.backend:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
cpus: 1
|
cpus: 1
|
||||||
|
@ -23,13 +23,13 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:50030:8080"
|
- "0.0.0.0:50030:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/backend/config:/config
|
- ./opencdmp/backend/config:/config
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/backend/certificates:/certificates
|
- ./opencdmp/backend/certificates:/certificates
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/backend/i18n:/i18n
|
- ./opencdmp/backend/i18n:/i18n
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/backend/material:/material
|
- ./opencdmp/backend/material:/material
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/backend/Semantics.json:/Semantics.json
|
- ./opencdmp/backend/Semantics.json:/Semantics.json
|
||||||
- ${STORAGE_PATH}opencdmp/backend:/storage
|
- ./storage/opencdmp/backend:/storage
|
||||||
- ${LOG_FILES_PATH}opencdmp/backend:/logs
|
- ./logs/opencdmp/backend:/logs
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-proxy-network
|
- opencdmp-proxy-network
|
||||||
- opencdmp-backend-network
|
- opencdmp-backend-network
|
||||||
|
@ -46,9 +46,9 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:50031:8080"
|
- "0.0.0.0:50031:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/frontend/config.json:/usr/share/nginx/html/assets/config/config.json
|
- ./opencdmp/frontend/config.json:/usr/share/nginx/html/assets/config/config.json
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/frontend/nginx.conf:/etc/nginx/nginx.conf
|
- ./opencdmp/frontend/nginx.conf:/etc/nginx/nginx.conf
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/frontend/WebAppNginx.conf:/etc/nginx/conf.d/default.conf
|
- ./opencdmp/frontend/WebAppNginx.conf:/etc/nginx/conf.d/default.conf
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-proxy-network
|
- opencdmp-proxy-network
|
||||||
|
|
||||||
|
@ -61,10 +61,10 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- PROFILE=${PROFILE}
|
- PROFILE=${PROFILE}
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/notification/config:/config
|
- ./opencdmp/notification/config:/config
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/notification/messages:/messages
|
- ./opencdmp/notification/messages:/messages
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/notification/notification_templates:/notification_templates
|
- ./opencdmp/notification/notification_templates:/notification_templates
|
||||||
- ${LOG_FILES_PATH}opencdmp/notification:/logs
|
- ./logs/opencdmp/notification:/logs
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-proxy-network
|
- opencdmp-proxy-network
|
||||||
- opencdmp-backend-network
|
- opencdmp-backend-network
|
||||||
|
@ -81,9 +81,9 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- PROFILE=${PROFILE}
|
- PROFILE=${PROFILE}
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/annotation/config:/config
|
- ./opencdmp/annotation/config:/config
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/annotation/messages:/messages
|
- ./opencdmp/annotation/messages:/messages
|
||||||
- ${LOG_FILES_PATH}opencdmp/annotation:/logs
|
- ./logs/opencdmp/annotation:/logs
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-proxy-network
|
- opencdmp-proxy-network
|
||||||
- opencdmp-backend-network
|
- opencdmp-backend-network
|
||||||
|
@ -103,9 +103,9 @@ services:
|
||||||
- SERVER_PORT=${SERVER_PORT}
|
- SERVER_PORT=${SERVER_PORT}
|
||||||
- PROFILE=${PROFILE}
|
- PROFILE=${PROFILE}
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/file-transformer-docx/config:/config
|
- ./opencdmp/file-transformer-docx/config:/config
|
||||||
- ${LOG_FILES_PATH}opencdmp/file-transformer-docx:/logs
|
- ./logs/opencdmp/file-transformer-docx:/logs
|
||||||
# - ${STORAGE_PATH}opencdmp/file-transformer-docx:/storage
|
# - ./storage/opencdmp/file-transformer-docx:/storage
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-plugins-network
|
- opencdmp-plugins-network
|
||||||
- opencdmp-gotenberg-shared-network
|
- opencdmp-gotenberg-shared-network
|
||||||
|
@ -120,10 +120,10 @@ services:
|
||||||
- SERVER_PORT=${SERVER_PORT}
|
- SERVER_PORT=${SERVER_PORT}
|
||||||
- PROFILE=${PROFILE}
|
- PROFILE=${PROFILE}
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/file-transformer-rda-json/config:/config
|
- ./opencdmp/file-transformer-rda-json/config:/config
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/file-transformer-rda-json/internal:/internal
|
- ./opencdmp/file-transformer-rda-json/internal:/internal
|
||||||
- ${LOG_FILES_PATH}opencdmp/file-transformer-rda-json:/logs
|
- ./logs/opencdmp/file-transformer-rda-json:/logs
|
||||||
# - ${STORAGE_PATH}opencdmp/file-transformer-rda-json:/storage
|
# - ./storage/opencdmp/file-transformer-rda-json:/storage
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-plugins-network
|
- opencdmp-plugins-network
|
||||||
|
|
||||||
|
@ -137,10 +137,10 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- PROFILE=${PROFILE}
|
- PROFILE=${PROFILE}
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/zenodo/config:/config
|
- ./opencdmp/zenodo/config:/config
|
||||||
- ${CONFIG_FILES_PATH}opencdmp/zenodo/zenodo.jpg:/zenodo.jpg
|
- ./opencdmp/zenodo/zenodo.jpg:/zenodo.jpg
|
||||||
- ${LOG_FILES_PATH}opencdmp/zenodo:/logs
|
- ./logs/opencdmp/zenodo:/logs
|
||||||
# - ${STORAGE_PATH}opencdmp/zenodo:/storage
|
# - ./storage/opencdmp/zenodo:/storage
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-plugins-network
|
- opencdmp-plugins-network
|
||||||
- opencdmp-keycloak-shared-network
|
- opencdmp-keycloak-shared-network
|
||||||
|
@ -154,10 +154,10 @@ services:
|
||||||
# - "127.0.0.1:${POSTGRES_PORT}:5432" # If you want to make it accessible locally only
|
# - "127.0.0.1:${POSTGRES_PORT}:5432" # If you want to make it accessible locally only
|
||||||
- "${POSTGRES_PORT}:5432"
|
- "${POSTGRES_PORT}:5432"
|
||||||
env_file:
|
env_file:
|
||||||
- ${CONFIG_FILES_PATH}postgres/postgres.env
|
- ./postgres/postgres.env
|
||||||
volumes:
|
volumes:
|
||||||
- ${STORAGE_PATH}postgres/data:/var/lib/postgresql/data
|
- ./storage/postgres/data:/var/lib/postgresql/data
|
||||||
- ${CONFIG_FILES_PATH}postgres/opencdmp_init.sql:/docker-entrypoint-initdb.d/opencdmp_init.sql
|
- ./postgres/opencdmp_init.sql:/docker-entrypoint-initdb.d/opencdmp_init.sql
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-postgres-shared-network
|
- opencdmp-postgres-shared-network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
@ -173,7 +173,7 @@ services:
|
||||||
cpus: 2
|
cpus: 2
|
||||||
mem_limit: 1024m
|
mem_limit: 1024m
|
||||||
env_file:
|
env_file:
|
||||||
- ${CONFIG_FILES_PATH}elk/elk.env
|
- ./elk/elk.env
|
||||||
environment:
|
environment:
|
||||||
ES_JAVA_OPTS: -Xmx512m -Xms512m
|
ES_JAVA_OPTS: -Xmx512m -Xms512m
|
||||||
ulimits:
|
ulimits:
|
||||||
|
@ -182,11 +182,11 @@ services:
|
||||||
soft: -1
|
soft: -1
|
||||||
hard: -1
|
hard: -1
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_FILES_PATH}elk/elasticsearch/index_init.sh:/usr/share/elasticsearch/config/index_init.sh
|
- ./elk/elasticsearch/index_init.sh:/usr/share/elasticsearch/config/index_init.sh
|
||||||
- ${CONFIG_FILES_PATH}elk/elasticsearch/log4j2.properties:/usr/share/elasticsearch/config/log4j2.properties:ro
|
- ./elk/elasticsearch/log4j2.properties:/usr/share/elasticsearch/config/log4j2.properties:ro
|
||||||
- ${CONFIG_FILES_PATH}elk/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
|
- ./elk/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
|
||||||
- ${STORAGE_PATH}elasticsearch:/usr/share/elasticsearch/data
|
- ./storage/elasticsearch:/usr/share/elasticsearch/data
|
||||||
- ${LOG_FILES_PATH}elasticsearch:/usr/share/elasticsearch/logs
|
- ./logs/elasticsearch:/usr/share/elasticsearch/logs
|
||||||
expose:
|
expose:
|
||||||
- "9200"
|
- "9200"
|
||||||
- "9300"
|
- "9300"
|
||||||
|
@ -205,13 +205,13 @@ services:
|
||||||
cpus: 2
|
cpus: 2
|
||||||
mem_limit: 2048M
|
mem_limit: 2048M
|
||||||
env_file:
|
env_file:
|
||||||
- ${CONFIG_FILES_PATH}keycloak/keycloak.env
|
- ./keycloak/keycloak.env
|
||||||
environment:
|
environment:
|
||||||
- JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=true"
|
- JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=true"
|
||||||
volumes:
|
volumes:
|
||||||
- ${LOG_FILES_PATH}keycloak:/tmp/logs
|
- ./logs/keycloak:/tmp/logs
|
||||||
- ${CONFIG_FILES_PATH}keycloak/user_init.sh:/tmp/user_init.sh
|
- ./keycloak/user_init.sh:/tmp/user_init.sh
|
||||||
- ${CONFIG_FILES_PATH}keycloak/imports/opencdmp-realm.json:/opt/keycloak/data/import/opencdmp-realm.json
|
- ./keycloak/imports/opencdmp-realm.json:/opt/keycloak/data/import/opencdmp-realm.json
|
||||||
expose:
|
expose:
|
||||||
- "8080"
|
- "8080"
|
||||||
networks:
|
networks:
|
||||||
|
@ -230,14 +230,14 @@ services:
|
||||||
- "0.0.0.0:15672:15672"
|
- "0.0.0.0:15672:15672"
|
||||||
- "0.0.0.0:5672:5672"
|
- "0.0.0.0:5672:5672"
|
||||||
env_file:
|
env_file:
|
||||||
- ${CONFIG_FILES_PATH}rabbitmq/rabbitmq.env
|
- ./rabbitmq/rabbitmq.env
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_FILES_PATH}rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
|
- /rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-rabbitmq-shared-network
|
- opencdmp-rabbitmq-shared-network
|
||||||
|
|
||||||
################################# GOTENBERG ##############################################
|
################################# GOTENBERG ##############################################
|
||||||
opencdmp.pdf-service:
|
opencdmp.gotenberg:
|
||||||
cpus: 2
|
cpus: 2
|
||||||
mem_limit: 2048m
|
mem_limit: 2048m
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -245,7 +245,7 @@ services:
|
||||||
- "3000"
|
- "3000"
|
||||||
hostname: gotenberg
|
hostname: gotenberg
|
||||||
env_file:
|
env_file:
|
||||||
- ${CONFIG_FILES_PATH}gotenberg/gotenberg.env
|
- ./gotenberg/gotenberg.env
|
||||||
networks:
|
networks:
|
||||||
- opencdmp-gotenberg-shared-network
|
- opencdmp-gotenberg-shared-network
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
services:
|
services:
|
||||||
|
|
||||||
############################## PROXY ########################################
|
############################## PROXY ########################################
|
||||||
opencdmp.proxy:
|
opencdmp.proxy:
|
||||||
container_name: opencdmp.proxy
|
container_name: opencdmp.proxy
|
||||||
|
@ -13,7 +14,7 @@ services:
|
||||||
opencdmp.annotation:
|
opencdmp.annotation:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|
||||||
############################## OPENCDMP APP #################################
|
############################## OPENDMP APP #################################
|
||||||
|
|
||||||
opencdmp.frontend:
|
opencdmp.frontend:
|
||||||
container_name: opencdmp.frontend
|
container_name: opencdmp.frontend
|
||||||
|
@ -73,7 +74,7 @@ services:
|
||||||
opencdmp.backend:
|
opencdmp.backend:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|
||||||
############################## POSTGRES ############################################
|
############################## POSTGRES 16 ############################################
|
||||||
opencdmp.postgres:
|
opencdmp.postgres:
|
||||||
container_name: opencdmp.postgres
|
container_name: opencdmp.postgres
|
||||||
image: postgres:${POSTGRES_TAG}
|
image: postgres:${POSTGRES_TAG}
|
||||||
|
@ -96,7 +97,13 @@ services:
|
||||||
container_name: opencdmp.rabbitmq
|
container_name: opencdmp.rabbitmq
|
||||||
image: rabbitmq:${RABBITMQ_TAG}
|
image: rabbitmq:${RABBITMQ_TAG}
|
||||||
|
|
||||||
############################## PDF SERVICE ##############################################
|
############################## GOTENBERG ##############################################
|
||||||
opencdmp.pdf-service:
|
opencdmp.gotenberg:
|
||||||
image: gotenberg/gotenberg:${PDF_SERVICE_TAG}
|
image: gotenberg/gotenberg:${GOTENBERG_TAG}
|
||||||
container_name: opencdmp.pdf-service
|
container_name: opencdmp.gotenberg
|
||||||
|
|
||||||
|
################################## DOCS #########################################
|
||||||
|
|
||||||
|
opendmp.docs:
|
||||||
|
container_name: opendmp.docs
|
||||||
|
image: ${DOCKER_REGISTRY}opencdmp-docs:${DOCS_TAG}
|
|
@ -2,7 +2,7 @@
|
||||||
IDP_ISSUER_URI=http://host.docker.internal:8081/keycloak/realms/OpenCDMP
|
IDP_ISSUER_URI=http://host.docker.internal:8081/keycloak/realms/OpenCDMP
|
||||||
|
|
||||||
#PDF
|
#PDF
|
||||||
PDF_CONVERTER_URL=http://opencdmp.pdf-service:3000
|
PDF_CONVERTER_URL=http://opencdmp.gotenberg:3000
|
||||||
|
|
||||||
#Storage
|
#Storage
|
||||||
STORAGE_PATH=/storage
|
STORAGE_PATH=/storage
|
Loading…
Reference in New Issue