103 lines
3.4 KiB
YAML
103 lines
3.4 KiB
YAML
services:
|
|
############################## PROXY ########################################
|
|
opencdmp.proxy:
|
|
container_name: opencdmp.proxy
|
|
image: nginx:${PROXY_TAG}
|
|
depends_on:
|
|
opencdmp.frontend:
|
|
condition: service_started
|
|
opencdmp.backend:
|
|
condition: service_started
|
|
opencdmp.notification:
|
|
condition: service_started
|
|
opencdmp.annotation:
|
|
condition: service_started
|
|
|
|
############################## OPENCDMP APP #################################
|
|
|
|
opencdmp.frontend:
|
|
container_name: opencdmp.frontend
|
|
image: ${DOCKER_REGISTRY}open-dmp-webapp:${MAIN_APP_TAG}
|
|
depends_on:
|
|
opencdmp.backend:
|
|
condition: service_started
|
|
opencdmp.notification:
|
|
condition: service_started
|
|
opencdmp.annotation:
|
|
condition: service_started
|
|
|
|
opencdmp.backend:
|
|
container_name: opencdmp.backend
|
|
image: ${DOCKER_REGISTRY}open-dmp-api:${MAIN_APP_TAG}
|
|
depends_on:
|
|
opencdmp.postgres:
|
|
condition: service_started
|
|
|
|
opencdmp.notification:
|
|
container_name: opencdmp.notification
|
|
image: ${DOCKER_REGISTRY}java-pomolo-notification-api:${NOTIFICATION_APP_TAG}
|
|
depends_on:
|
|
opencdmp.postgres:
|
|
condition: service_started
|
|
|
|
opencdmp.annotation:
|
|
container_name: opencdmp.annotation
|
|
image: ${DOCKER_REGISTRY}java-pomolo-annotation-api:${ANNOTATION_APP_TAG}
|
|
depends_on:
|
|
opencdmp.postgres:
|
|
condition: service_started
|
|
opencdmp.backend:
|
|
condition: service_started
|
|
|
|
# # ############################## FILE-TRANSFORMERS #######################################
|
|
|
|
opencdmp.file.transformer.docx:
|
|
container_name: opencdmp.file.transformer.docx
|
|
image: ${DOCKER_REGISTRY}file-transformation-docx-api:${DOCX_APP_TAG}
|
|
depends_on:
|
|
opencdmp.backend:
|
|
condition: service_started
|
|
|
|
opencdmp.file.transformer.rdajson:
|
|
container_name: opencdmp.file.transformer.rdajson
|
|
image: ${DOCKER_REGISTRY}file-transformation-rda-json-api:${JSON_APP_TAG}
|
|
depends_on:
|
|
opencdmp.backend:
|
|
condition: service_started
|
|
|
|
# ################################ ZENODO ###############################################
|
|
opencdmp.zenodo:
|
|
container_name: opencdmp.zenodo
|
|
image: ${DOCKER_REGISTRY}repository-deposit-zenodo:${ZENODO_APP_TAG}
|
|
depends_on:
|
|
opencdmp.backend:
|
|
condition: service_started
|
|
|
|
############################## POSTGRES ############################################
|
|
opencdmp.postgres:
|
|
container_name: opencdmp.postgres
|
|
image: postgres:${POSTGRES_TAG}
|
|
|
|
################################# ELASTICSEARCH #################################################
|
|
opencdmp.elasticsearch:
|
|
container_name: opencdmp.elasticsearch
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:${ELK_TAG}
|
|
|
|
############################# KEYCLOAK ###############################################
|
|
opencdmp.keycloak:
|
|
container_name: opencdmp.keycloak
|
|
image: quay.io/keycloak/keycloak:${KEYCLOAK_TAG}
|
|
depends_on:
|
|
opencdmp.postgres:
|
|
condition: service_healthy
|
|
|
|
############################## RABBITMQ ###############################################
|
|
opencdmp.rabbitmq:
|
|
container_name: opencdmp.rabbitmq
|
|
image: rabbitmq:${RABBITMQ_TAG}
|
|
|
|
############################## PDF SERVICE ##############################################
|
|
opencdmp.pdf-service:
|
|
image: gotenberg/gotenberg:${PDF_SERVICE_TAG}
|
|
container_name: opencdmp.pdf-service
|