jhipster-registry.yml 1.2KB

1234567891011121314151617181920212223
  1. version: '2'
  2. services:
  3. jhipster-registry:
  4. image: jhipster/jhipster-registry:v4.0.6
  5. volumes:
  6. - ./central-server-config:/central-config
  7. # When run with the "dev" Spring profile, the JHipster Registry will
  8. # read the config from the local filesystem (central-server-config directory)
  9. # When run with the "prod" Spring profile, it will read the configuration from a Git repository
  10. # See https://www.jhipster.tech/microservices-architecture/#registry_app_configuration
  11. environment:
  12. - _JAVA_OPTIONS=-Xmx512m -Xms256m
  13. - SPRING_PROFILES_ACTIVE=dev,swagger
  14. - SPRING_SECURITY_USER_PASSWORD=admin
  15. - JHIPSTER_REGISTRY_PASSWORD=admin
  16. - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_TYPE=native
  17. - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_SEARCH_LOCATIONS=file:./central-config/localhost-config/
  18. # - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_TYPE=git
  19. # - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_URI=https://github.com/jhipster/jhipster-registry/
  20. # - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_SEARCH_PATHS=central-config
  21. ports:
  22. - 8761:8761