version: '2' services: formationcontinue-app: image: formationcontinue environment: - _JAVA_OPTIONS=-Xmx512m -Xms256m - SPRING_PROFILES_ACTIVE=prod,swagger - MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true - EUREKA_CLIENT_SERVICE_URL_DEFAULTZONE=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/eureka - SPRING_CLOUD_CONFIG_URI=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/config - SPRING_DATASOURCE_URL=jdbc:sqlserver://formationcontinue-mssql:1433;database=formationContinue - JHIPSTER_SLEEP=30 # gives time for other services to boot before the application formationcontinue-mssql: extends: file: mssql.yml service: formationcontinue-mssql jhipster-registry: extends: file: jhipster-registry.yml service: jhipster-registry environment: - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_TYPE=native - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_SEARCH_LOCATIONS=file:./central-config/docker-config/