version: '2'
services:
    jh-genesis-registry:
        container_name: jh-genesis-registry
        image: <%= DOCKER_JHGENESIS_REGISTRY %>
        volumes:
            - ./central-server-config:/central-config
        # By default the JHGenesis Registry runs with the "prod" 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:
            - SPRING_PROFILES_ACTIVE=dev,native
            - SECURITY_USER_PASSWORD=admin
            # - GIT_URI=https://github.com/jh-genesis/jh-genesis-registry/
            # - GIT_SEARCH_PATH=central-config
        ports:
            - 8761:8761
