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

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

unify docker-compose

parent 86800869
Branches
3 merge requests!166Deploying Februrar 23 Release,!163362 restart after reboot,!146Put the sonar-analyze job into a separate stage
......@@ -37,6 +37,7 @@ services:
depends_on:
- keycloak
- sharing_mysql
- sharing_elasticsearch
networks:
- backend
- frontend
......@@ -94,6 +95,32 @@ services:
networks:
- backend
- frontend
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,
# remove the "127.0.0.1:" prefix
ports:
- '9200:9200' # add this for your local testing setup
- '9300:9300' # add this for your local testing setup
environment:
- 'ES_JAVA_OPTS=-Xms512m -Xmx512m'
- node.name=es01
- cluster.name=sharing_elasticsearch
- discovery.type=single-node
- xpack.security.enabled=false
volumes:
- '/mnt/qt-codeability-austria/sharing/es/data:/usr/share/elasticsearch/data' # change this path for production
ulimits:
memlock:
soft: -1
hard: -1
networks:
backend:
ipv4_address: 172.22.2.24
networks:
frontend:
name: sharing_frontend
......
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