service.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. # port of the http server
  2. port: 8080
  3. # port of the https server
  4. sslport: 8443
  5. # this is the servicURL from outside
  6. serviceURL: http://127.0.0.1:8080
  7. # this is the registry URL from inside this service for consul as service registry
  8. registryURL:
  9. # this is the system id of this service. services in a cluster mode should have the same system id.
  10. systemID: autorest-srv
  11. #sercret file for storing usernames and passwords
  12. secretfile: /tmp/storage/config/secret.yaml
  13. #where the configuration files of the backends are
  14. backendpath: configs/backends
  15. #allow data saving without a registered backend
  16. allowAnonymousBackend: true
  17. # configuration of the gelf logging server
  18. logging:
  19. gelf-url:
  20. gelf-port:
  21. # healthcheck configuration
  22. healthcheck:
  23. # automatically check the health of this service every ## seconds
  24. period: 30
  25. # configuration of the mongo storage
  26. mongodb:
  27. host: 127.0.0.1 #mongo host ip (comma seperated ip's with a cluster installation )
  28. port: 27017 # mongo host port
  29. username: #username for the database (should be at last dbadmin, and read/write access)
  30. password: #password for the user
  31. authdb: backend1 # database to authenticate against
  32. database: backend1 # database for the data