From db5de66c27f729d5be86a2e748d00fe277ba9027 Mon Sep 17 00:00:00 2001 From: Philippe Bareille Date: Mon, 10 Jun 2024 23:19:53 +0200 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 147 ++++++++++++++++++++++----------------------- 1 file changed, 72 insertions(+), 75 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 29dad9f..0c07110 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,100 +1,97 @@ version: '3.5' services: - db: - image: citelibre/ident_ez:db-1.0.18-SNAPSHOT - container_name: identEZ_db - ports: - - "3307:3306" - # if you want to persist data uncomment the following 2 lines... don't forget to create the directory mysql-data for sample - #volumes: - # - ./mysql-data:/var/lib/mysql - - - solr: - image: citelibre/ident_ez:solr-1.0.18-SNAPSHOT - container_name: identEZ_solr - command: -force - depends_on: - - db - ports: - - "8983:8983" - # if you want to persist data uncomment the following 2 lines... and don't forget to create the directory - #volumes: - # - ./solr-data:/var/solr/data/cite-libre/data - + db: + image: citelibre/ident_ez:db-1.0.18-SNAPSHOT + container_name: identEZ_db + ports: + - "3307:3306" + # if you want to persist data uncomment the following 2 lines... don't forget to create the directory mysql-data for sample + #volumes: + # - ./mysql-data:/var/lib/mysql - mailpit: - image: axllent/mailpit:v1.18.3 - container_name: identEZ_mailpit - restart: unless-stopped - ports: - - 1080:8025 - - 1025:1025 - environment: - MP_MAX_MESSAGES: 500 - MP_SMTP_AUTH_ACCEPT_ANY: 1 - MP_SMTP_AUTH_ALLOW_INSECURE: 1 + solr: + image: citelibre/ident_ez:solr-1.0.18-SNAPSHOT + container_name: identEZ_solr + command: -force + depends_on: + - db + ports: + - "8983:8983" + # if you want to persist data uncomment the following 2 lines... and don't forget to create the directory + #volumes: + # - ./solr-data:/var/solr/data/cite-libre/data - matomo: - image: citelibre/ident_ez:matomo-1.0.18-SNAPSHOT - container_name: identEZ_matomo - ports: - - "80:80" - depends_on: - - solr + mailpit: + image: axllent/mailpit:v1.18.3 + container_name: identEZ_mailpit + restart: unless-stopped + ports: + - 1080:8025 + - 1025:1025 + environment: + MP_MAX_MESSAGES: 500 + MP_SMTP_AUTH_ACCEPT_ANY: 1 + MP_SMTP_AUTH_ALLOW_INSECURE: 1 - keycloak: - image: citelibre/ident_ez:keycloak-1.0.18-SNAPSHOT - container_name: identEZ_keycloak - ports: - - "8081:8081" - command: ["-Djboss.http.port=8081"] - depends_on: - - citelibre + matomo: + image: citelibre/ident_ez:matomo-1.0.18-SNAPSHOT + container_name: identEZ_matomo + ports: + - "80:80" + depends_on: + - solr + keycloak: + image: citelibre/ident_ez:keycloak-1.0.18-SNAPSHOT + container_name: identEZ_keycloak + ports: + - "8081:8081" + command: ["-Djboss.http.port=8081"] + depends_on: + - citelibre - citelibre: - image: citelibre/ident_ez:ihm-1.0.18-SNAPSHOT - container_name: identEZ_citelibre - ports: - - 8080:8080 - depends_on: - - solr - environment: - - LUTECE_DB_USER - - LUTECE_DB_PWD - - LUTECE_DB_NAME - - LUTECE_DB_HOST - - LUTECE_DB_PORT - - LUTECE_MAIL_HOST - - LUTECE_MAIL_PORT - - LUTECE_MAIL_USER - - LUTECE_MAIL_PWD - - LUTECE_INTERNAL_KEYCLOAK=true + citelibre: + image: citelibre/ident_ez:ihm-1.0.18-SNAPSHOT + container_name: identEZ_citelibre + ports: + - 8080:8080 + depends_on: + - solr + environment: + - LUTECE_DB_USER + - LUTECE_DB_PWD + - LUTECE_DB_NAME + - LUTECE_DB_HOST + - LUTECE_DB_PORT + - LUTECE_MAIL_HOST + - LUTECE_MAIL_PORT + - LUTECE_MAIL_USER + - LUTECE_MAIL_PWD + - LUTECE_INTERNAL_KEYCLOAK=true kibana: image: citelibre/ident_ez:kibana-1.0.18-SNAPSHOT container_name: identEZ_kibana environment: - - discovery.type=single-node - - server.publicBaseUrl=localhost + - discovery.type=single-node + - server.publicBaseUrl=localhost ports: - 5601:5601 mem_limit: 1g depends_on: - elasticsearch - #volumes: - # - ./kibana/kibana.yml:/usr/share/kibana/config/kibana.yml + #volumes: + # - ./kibana/kibana.yml:/usr/share/kibana/config/kibana.yml elasticsearch: image: citelibre/ident_ez:elasticsearch-1.0.18-SNAPSHOT container_name: identEZ_elasticsearch environment: - - ELASTIC_PASSWORD="*93n2US7fWog" - - discovery.type=single-node - - xpack.security.enabled=false - - ESJAVAOPTS=-Xmx1g + - ELASTIC_PASSWORD="*93n2US7fWog" + - discovery.type=single-node + - xpack.security.enabled=false + - ESJAVAOPTS=-Xmx1g mem_limit: 1g ports: - 9200:9200 @@ -107,4 +104,4 @@ services: volumes: elasticsearch-data: identEZ-data: - # solr-data: + # solr-data: