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

Skip to content
Snippets Groups Projects
app.yml 954 B
Newer Older
Lukas Kaltenbrunner's avatar
Lukas Kaltenbrunner committed
version: '2'
services:
  gitsearch-app:
Simon's avatar
Simon committed
    image: docker.uibk.ac.at:443/csar9407/gitsearch:master-3797948b22c16f14441df6f2ced71aacd9e76feb
Lukas Kaltenbrunner's avatar
Lukas Kaltenbrunner committed
    environment:
      - _JAVA_OPTIONS=-Xmx512m -Xms256m
      - SPRING_PROFILES_ACTIVE=prod,swagger
      - MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true
      - SPRING_DATASOURCE_URL=jdbc:mysql://gitsearch-mysql:3307/gitsearch?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true
Lukas Kaltenbrunner's avatar
Lukas Kaltenbrunner committed
      - 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
    ports:
      - 8080:8080
  gitsearch-mysql:
    extends:
      file: mysql.yml
      service: gitsearch-mysql
  gitsearch-elasticsearch:
    extends:
      file: elasticsearch.yml
      service: gitsearch-elasticsearch