settings.env 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Specifies the IP address or hostname that the management API binds to for
  2. # incoming connections (127.0.0.1 restricts to same machine only).
  3. export API_HOST=127.0.0.1
  4. # The port that the management API service binds to.
  5. export API_PORT=8080
  6. # The port that the Alert service binds to.
  7. export ALERT_PORT=5194
  8. # The port that the auth service binds to.
  9. export AUTH_PORT=5190
  10. # The port that the BART service binds to.
  11. export BART_PORT=5195
  12. # The port that the BOS service binds to.
  13. export BOS_PORT=5191
  14. # The port that the chat nav service binds to.
  15. export CHAT_NAV_PORT=5193
  16. # The port that the chat service binds to.
  17. export CHAT_PORT=5192
  18. # The port that the admin service binds to.
  19. export ADMIN_PORT=5196
  20. # The port that the ODir service binds to.
  21. export ODIR_PORT=5197
  22. # The path to the SQLite database file. The file and DB schema are auto-created
  23. # if they doesn't exist.
  24. export DB_PATH=oscar.sqlite
  25. # Disable password check and auto-create new users at login time. Useful for
  26. # quickly creating new accounts during development without having to register
  27. # new users via the management API.
  28. export DISABLE_AUTH=true
  29. # Set logging granularity. Possible values: 'trace', 'debug', 'info', 'warn',
  30. # 'error'.
  31. export LOG_LEVEL=info
  32. # The hostname that AIM clients connect to in order to reach OSCAR services
  33. # (auth, BOS, BUCP, etc). Make sure the hostname is reachable by all clients.
  34. # For local development, the default loopback address should work provided the
  35. # server and AIM client(s) are running on the same machine. For LAN-only
  36. # clients, a private IP address (e.g. 192.168..) or hostname should suffice. For
  37. # clients connecting over the Internet, specify your public IP address and
  38. # ensure that TCP ports 5190-5197 are open on your firewall.
  39. export OSCAR_HOST=127.0.0.1
  40. # Specifies the IP address or hostname that the TOC service binds to for
  41. # incoming connections (0.0.0.0 listens on all interfaces).
  42. export TOC_HOST=0.0.0.0
  43. # The port that the TOC service binds to.
  44. export TOC_PORT=9898