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

Skip to content
Snippets Groups Projects
Commit cf04f44a authored by Lukas Kaltenbrunner's avatar Lukas Kaltenbrunner
Browse files

Update docker-compose files

parent d9ce4d9f
Branches
Tags
No related merge requests found
......@@ -6,17 +6,26 @@ services:
- _JAVA_OPTIONS=-Xmx512m -Xms256m
- SPRING_PROFILES_ACTIVE=prod,swagger
- MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true
- SPRING_DATASOURCE_URL=jdbc:mysql://gitsearch-mysql:3306/gitsearch?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true
- SPRING_DATASOURCE_URL=jdbc:mysql://sharing_mysql:3306/gitsearch?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true
- JHIPSTER_SLEEP=30 # gives time for other services to boot before the application
- SPRING_DATA_JEST_URI=http://gitsearch-elasticsearch:9200
- SPRING_ELASTICSEARCH_REST_URIS=http://gitsearch-elasticsearch:9200
- SPRING_DATA_JEST_URI=http://sharing_elasticsearch:9200
- SPRING_ELASTICSEARCH_REST_URIS=http://sharing_elasticsearch:9200
ports:
- 8080:8080
gitsearch-mysql:
networks:
- backend
- frontend
sharing_mysql:
extends:
file: mysql.yml
service: gitsearch-mysql
gitsearch-elasticsearch:
extends:
file: elasticsearch.yml
service: gitsearch-elasticsearch
service: sharing_mysql
networks:
- backend
networks:
frontend:
name: sharing_frontend
driver: bridge
backend:
name: sharing_backend
driver: bridge
internal: true
version: '2'
services:
gitsearch-mysql:
sharing_mysql:
image: mysql:8.0.20
# volumes:
# - ~/volumes/jhipster/gitsearch/mysql/:/var/lib/mysql/
......
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