Skip to content
Snippets Groups Projects
Unverified Commit a1d162ab authored by Martin Weise's avatar Martin Weise
Browse files

Hotfix search service

parent 2e980515
No related branches found
No related tags found
1 merge request!163Relase 1.3.0
......@@ -32,7 +32,7 @@ networks:
services:
dbrepo-metadata-db:
restart: on-failure
restart: "no"
container_name: dbrepo-metadata-db
hostname: metadata-db
image: dbrepo/metadata-db:1.2
......@@ -48,37 +48,8 @@ services:
logging:
driver: json-file
dbrepo-discovery-service:
restart: on-failure
container_name: dbrepo-discovery-service
hostname: discovery-service
image: dbrepo/discovery-service:1.2
networks:
core:
env_file:
- .env
logging:
driver: json-file
dbrepo-gateway-service:
restart: on-failure
container_name: dbrepo-gateway-service
hostname: gateway-service
image: dbrepo/gateway-service:1.2
networks:
core:
ports:
- "80:80"
env_file:
- .env
depends_on:
dbrepo-discovery-service:
condition: service_healthy
logging:
driver: json-file
dbrepo-database-service:
restart: on-failure
restart: "no"
container_name: dbrepo-database-service
hostname: database-service
image: dbrepo/database-service:1.2
......@@ -100,7 +71,7 @@ services:
driver: json-file
dbrepo-container-service:
restart: on-failure
restart: "no"
container_name: dbrepo-container-service
hostname: container-service
image: dbrepo/container-service:1.2
......@@ -117,26 +88,27 @@ services:
driver: json-file
dbrepo-authentication-service:
restart: on-failure
restart: "no"
container_name: dbrepo-authentication-service
hostname: authentication-service
image: dbrepo/authentication-service:1.2
networks:
core:
ports:
- "8443:8443"
- "8080:8080"
env_file:
- .env
volumes:
- authentication-service-data:/opt/keycloak/data/
depends_on:
dbrepo-discovery-service:
condition: service_healthy
dbrepo-broker-service:
condition: service_started
dbrepo-metadata-db:
condition: service_healthy
logging:
driver: json-file
dbrepo-query-service:
restart: on-failure
restart: "no"
container_name: dbrepo-query-service
hostname: query-service
image: dbrepo/query-service:1.2
......@@ -148,6 +120,8 @@ services:
volumes:
- ${SHARED_FILESYSTEM}:/tmp
depends_on:
dbrepo-broker-service:
condition: service_healthy
dbrepo-table-service:
condition: service_healthy
dbrepo-authentication-service:
......@@ -174,12 +148,12 @@ services:
dbrepo-search-service:
condition: service_started
dbrepo-broker-service:
condition: service_started
condition: service_healthy
logging:
driver: json-file
dbrepo-identifier-service:
restart: on-failure
restart: "no"
container_name: dbrepo-identifier-service
hostname: identifier-service
image: dbrepo/identifier-service:1.2
......@@ -200,7 +174,7 @@ services:
driver: json-file
dbrepo-metadata-service:
restart: on-failure
restart: "no"
container_name: dbrepo-metadata-service
hostname: metadata-service
image: dbrepo/metadata-service:1.2
......@@ -209,13 +183,15 @@ services:
env_file:
- .env
depends_on:
dbrepo-authentication-service:
condition: service_healthy
dbrepo-metadata-db:
condition: service_started
condition: service_healthy
logging:
driver: json-file
dbrepo-analyse-service:
restart: on-failure
restart: "no"
container_name: dbrepo-analyse-service
hostname: analyse-service
image: dbrepo/analyse-service:1.2
......@@ -227,14 +203,30 @@ services:
volumes:
- ${SHARED_FILESYSTEM}:/tmp
- /var/run/docker.sock:/var/run/docker.sock
logging:
driver: json-file
dbrepo-user-service:
restart: "no"
container_name: dbrepo-user-service
hostname: user-service
image: dbrepo/user-service:latest
networks:
core:
ports:
- "9098:9098"
env_file:
- .env
depends_on:
dbrepo-discovery-service:
dbrepo-metadata-db:
condition: service_healthy
dbrepo-authentication-service:
condition: service_healthy
logging:
driver: json-file
dbrepo-semantics-service:
restart: on-failure
restart: "no"
container_name: dbrepo-semantics-service
hostname: semantics-service
image: dbrepo/semantics-service:1.2
......@@ -246,15 +238,15 @@ services:
- ${SHARED_FILESYSTEM}:/tmp
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
dbrepo-discovery-service:
condition: service_healthy
dbrepo-metadata-db:
condition: service_healthy
dbrepo-authentication-service:
condition: service_healthy
logging:
driver: json-file
dbrepo-broker-service:
restart: on-failure
restart: "no"
container_name: dbrepo-broker-service
hostname: broker-service
image: dbrepo/broker-service:1.2
......@@ -266,34 +258,35 @@ services:
env_file:
- .env
depends_on:
dbrepo-discovery-service:
dbrepo-authentication-service:
condition: service_healthy
volumes:
- broker-service-data:/var/lib/rabbitmq/
logging:
driver: json-file
dbrepo-search-service:
dbrepo-search-db:
restart: always
container_name: dbrepo-search-service
hostname: search-service
image: dbrepo/search-service:1.2
container_name: dbrepo-search-db
hostname: search-db
image: elasticsearch:8.7.1
networks:
core:
depends_on:
dbrepo-discovery-service:
condition: service_healthy
ports:
- 9200:9200
env_file:
- .env
environment:
discovery.type: "single-node"
ES_JAVA_OPTS: "-Xms2g -Xmx2g"
logger.level: "WARN"
bootstrap.memory_lock: "true"
xpack.security.enabled: "true"
volumes:
- search-service-data:/usr/share/elasticsearch/data
logging:
driver: json-file
dbrepo-ui:
restart: on-failure
restart: "no"
container_name: dbrepo-ui
hostname: ui
image: dbrepo/ui:1.2
......@@ -311,3 +304,49 @@ services:
condition: service_healthy
logging:
driver: json-file
dbrepo-gateway-service:
restart: "no"
container_name: dbrepo-gateway-service
hostname: gateway-service
image: nginx:1.25-alpine-slim
networks:
core:
public:
ports:
- "80:80"
- "443:443"
volumes:
- /root/geant/dbrepo1.ec.tuwien.ac.at.pem:/etc/nginx/fullchain.pem:ro
- /root/geant/dbrepo1.ec.tuwien.ac.at.key:/etc/nginx/privkey.pem:ro
- /home/demo/dbrepo-tuw/proxy/dbrepo.conf:/etc/nginx/conf.d/default.conf
- /root/geant/ssl_passwords.txt:/etc/nginx/ssl_passwords.txt
depends_on:
dbrepo-analyse-service:
condition: service_healthy
dbrepo-authentication-service:
condition: service_healthy
dbrepo-broker-service:
condition: service_healthy
dbrepo-container-service:
condition: service_healthy
dbrepo-database-service:
condition: service_healthy
dbrepo-identifier-service:
condition: service_healthy
dbrepo-metadata-service:
condition: service_healthy
dbrepo-query-service:
condition: service_healthy
dbrepo-search-service:
condition: service_started
dbrepo-semantics-service:
condition: service_healthy
dbrepo-table-service:
condition: service_healthy
dbrepo-ui:
condition: service_started
dbrepo-user-service:
condition: service_healthy
logging:
driver: json-file
......@@ -266,10 +266,10 @@ services:
logging:
driver: json-file
dbrepo-search-service:
dbrepo-search-db:
restart: always
container_name: dbrepo-search-service
hostname: search-service
container_name: dbrepo-search-db
hostname: search-db
image: elasticsearch:8.7.1
networks:
core:
......@@ -310,7 +310,7 @@ services:
restart: "no"
container_name: dbrepo-gateway-service
hostname: gateway-service
image: nginx:alpine
image: nginx:1.25-alpine-slim
networks:
core:
public:
......
......@@ -263,10 +263,10 @@ services:
logging:
driver: json-file
dbrepo-search-service:
dbrepo-search-db:
restart: always
container_name: dbrepo-search-service
hostname: search-service
container_name: dbrepo-search-db
hostname: search-db
image: elasticsearch:8.7.1
networks:
core:
......
......@@ -6,7 +6,7 @@ version: "3.6"
volumes:
metadata-db-data:
search-service-data:
search-db-data:
broker-service-data:
authentication-service-data:
......@@ -31,6 +31,7 @@ networks:
- subnet: 172.32.0.0/16
services:
dbrepo-metadata-db:
restart: "no"
container_name: dbrepo-metadata-db
......@@ -291,10 +292,10 @@ services:
logging:
driver: json-file
dbrepo-search-service:
dbrepo-search-db:
restart: always
container_name: dbrepo-search-service
hostname: search-service
container_name: dbrepo-search-db
hostname: search-db
image: elasticsearch:8.7.1
networks:
core:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment