Created
July 27, 2020 04:13
-
-
Save haigopi/80453b5aa5ad6826de45a2179f4eb144 to your computer and use it in GitHub Desktop.
jhipster-registry.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
jhipster-registry: | |
image: jhipster/jhipster-registry:v6.3.0 | |
volumes: | |
- ./central-server-config:/central-config | |
# By default the JHipster Registry runs with the "dev" and "native" | |
# Spring profiles. | |
# "native" profile means the filesystem is used to store data, see | |
# http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html | |
environment: | |
- _JAVA_OPTIONS=-Xmx512m -Xms256m | |
- SPRING_PROFILES_ACTIVE=dev,oauth2 | |
- SPRING_SECURITY_USER_PASSWORD=admin | |
- JHIPSTER_REGISTRY_PASSWORD=admin | |
- SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_TYPE=native | |
- SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_SEARCH_LOCATIONS=file:./central-config | |
# - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_TYPE=git | |
# - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_URI=https://github.com/jhipster/jhipster-registry/ | |
# - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_SEARCH_PATHS=central-config | |
- JHIPSTER_LOGGING_LOGSTASH_ENABLED=true | |
- JHIPSTER_LOGGING_LOGSTASH_HOST=jhipster-logstash | |
- JHIPSTER_METRICS_LOGS_ENABLED=true | |
- JHIPSTER_METRICS_LOGS_REPORTFREQUENCY=60 | |
# For Keycloak to work, you need to add '127.0.0.1 keycloak' to your hosts file | |
- SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OIDC_ISSUER_URI=http://keycloak:9080/auth/realms/jhipster | |
- SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OIDC_CLIENT_ID=jhipster-registry | |
- SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OIDC_CLIENT_SECRET=jhipster-registry | |
ports: | |
- 8761:8761 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment