Skip to content

SwissTierrasColombia/st-config-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Config Server

Server that manages the configuration of all microservices.

Configuration

In the file st-config-server/src/main/resources/application.yml you can configure the username and password of the data repository

spring:
  profiles: develop
  cloud:
    config:
      server:
        git:
          uri: HOSTNAME
          username: USERNAME
          password: PASSWORD
          default-label: develop

Running Development

Alternatively, credentials can be sent via command line.

$ mvn spring-boot:run -Dspring-boot.run.arguments=--spring.profiles.active=develop,--spring.cloud.config.server.git.username=USERNAME,--spring.cloud.config.server.git.password=PASSWORD,--spring.cloud.config.server.git.uri=HOSTNAME

License

Agencia de Implementación - BSF Swissphoto - INCIGE