This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 86800869 authored by eduardDeploy's avatar eduardDeploy
Browse files

restart necessary containers automatically

parent f95f02bf
3 merge requests!166Deploying Februrar 23 Release,!163362 restart after reboot,!146Put the sonar-analyze job into a separate stage
......@@ -4,6 +4,7 @@ services:
sharing_elasticsearch:
image: 'docker.elastic.co/elasticsearch/elasticsearch:7.17.6'
container_name: sharing_elasticsearch
restart: always
# volumes:
# - ~/volumes/jhipster/gitsearch/elasticsearch/:/usr/share/elasticsearch/data/
# If you want to expose these ports outside your dev PC,
......
......@@ -6,6 +6,7 @@ services:
gitsearch-app:
image: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform/gitsearch/$GITBRANCH
container_name: sharing_search
restart: always
hostname: sharing_search
environment:
- _JAVA_OPTIONS=-Xmx512m -Xms256m
......@@ -61,6 +62,7 @@ services:
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: password
restart: always
networks:
- backend
- frontend
......@@ -82,6 +84,7 @@ services:
#JDBC_PARAMS: "ssl=true"
ports:
- 8082:8080
restart: always
volumes:
- $GITSEARCH_PATH/src/main/resources/keycloak-theme/themes/gitsearch:/opt/jboss/keycloak/themes/gitsearch
#- /home/contDeploy/gitsearch2/gitsearch/src/main/resources/keycloak-theme/themes/gitsearch:/opt/jboss/keycloak/themes/gitsearch
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment