Skip to content

Commit

Permalink
🔧 : add custom property for mongo configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Jul 12, 2019
1 parent c7da26d commit 03d8c48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ Gaia can be configured using :
### environment variables

* `DOCKER_DAEMON_URL` / `gaia.dockerDaemonUrl` (default `unix:///var/run/docker.sock`) : configure docker daemon url for Gaia runner
* `EXTERNAL_URL` / `gaia.externalUrl` (default `http://localhost:8080`) : configure Gaia url for embedded terraform backend support
* `EXTERNAL_URL` / `gaia.externalUrl` (default `http://localhost:8080`) : configure Gaia url for embedded terraform backend support
* `MONGODB_URI` / `gaia.mongodb.uri` (default `mongodb://localhost/gaia`) : configure Gaia database access
6 changes: 5 additions & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ logging.level.org.springframework.web=TRACE

spring.data.rest.basePath=/api

management.endpoints.web.exposure.include=*
management.endpoints.web.exposure.include=*

spring.data.mongodb.uri=${gaia.mongodb.uri}

gaia.mongodb.uri=mongodb://localhost/gaia

0 comments on commit 03d8c48

Please # to comment.