Advertisement
AtomicOs

secrets.json

Jun 24th, 2021
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.18 KB | None | 0 0
  1. # Disable all components except PostgreSQL and Consul
  2. roles(['postgres_role', 'consul_role'])
  3.  
  4. # PostgreSQL configuration
  5. postgresql['listen_address'] = '127.0.0.1'
  6. postgresql['max_connections'] = 200
  7.  
  8. # Prevent database migrations from running on upgrade automatically
  9. gitlab_rails['auto_migrate'] = false
  10.  
  11. # Configure the Consul agent
  12. ## Enable service discovery for Prometheus
  13. consul['monitoring_service_discovery'] =  true
  14.  
  15. # START user configuration
  16. # Please set the real values as explained in Required Information section
  17. #
  18. # Replace PRAEFECT_POSTGRESQL_PASSWORD_HASH with a generated md5 value
  19. postgresql['sql_user_password'] = "<praefect_postgresql_password_hash>"
  20.  
  21. # Replace XXX.XXX.XXX.XXX/YY with Network Address
  22. postgresql['trust_auth_cidr_addresses'] = %w(10.6.0.0/24)
  23.  
  24. # Set the network addresses that the exporters will listen on for monitoring
  25. node_exporter['listen_address'] = '192.168.0.114:9100'
  26. postgres_exporter['listen_address'] = '103.138.201.103:9187'
  27.  
  28. ## The IPs of the Consul server nodes
  29. ## You can also use FQDNs and intermix them with IPs
  30. consul['configuration'] = {
  31.    retry_join: %w(10.6.0.11 10.6.0.12 10.6.0.13),
  32. }
  33. #
  34. # END user configuration
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement