settings.env 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Network listeners for core OSCAR services. For multi-homed servers, allows
  2. # users to connect from multiple networks. For example, you can allow both LAN
  3. # and Internet clients to connect to the same server using different connection
  4. # settings.
  5. #
  6. # Format:
  7. # - Comma-separated list of [NAME]://[HOSTNAME]:[PORT]
  8. # - Listener names and ports must be unique
  9. # - Listener names are user-defined
  10. # - Each listener needs a listener in OSCAR_ADVERTISED_LISTENERS_PLAIN
  11. #
  12. # Examples:
  13. # // Listen on all interfaces
  14. # LAN://0.0.0.0:5190
  15. # // Separate Internet and LAN config
  16. # WAN://142.250.176.206:5190,LAN://192.168.1.10:5191
  17. export OSCAR_LISTENERS=LOCAL://0.0.0.0:5190
  18. # Hostnames published by the server that clients connect to for accessing
  19. # various OSCAR services. These hostnames are NOT the bind addresses. For
  20. # multi-homed use servers, allows clients to connect using separate hostnames
  21. # per network.
  22. #
  23. # Format:
  24. # - Comma-separated list of [NAME]://[HOSTNAME]:[PORT]
  25. # - Each listener config must correspond to a config in OSCAR_LISTENERS
  26. # - Clients MUST be able to connect to these hostnames
  27. #
  28. # Examples:
  29. # // Local LAN config, server behind NAT
  30. # LAN://192.168.1.10:5190
  31. # // Separate Internet and LAN config
  32. # WAN://aim.example.com:5190,LAN://192.168.1.10:5191
  33. export OSCAR_ADVERTISED_LISTENERS_PLAIN=LOCAL://127.0.0.1:5190
  34. # Network listeners for TOC protocol service.
  35. #
  36. # Format: Comma-separated list of hostname:port pairs.
  37. #
  38. # Examples:
  39. # // All interfaces
  40. # 0.0.0.0:9898
  41. # // Multiple listeners
  42. # 0.0.0.0:9898,192.168.1.10:9899
  43. export TOC_LISTENERS=0.0.0.0:9898
  44. # Network listener for management API binds to. Only 1 listener can be
  45. # specified. (Default 127.0.0.1 restricts to same machine only).
  46. export API_LISTENER=127.0.0.1:8080
  47. # The path to the SQLite database file. The file and DB schema are auto-created
  48. # if they doesn't exist.
  49. export DB_PATH=oscar.sqlite
  50. # Disable password check and auto-create new users at login time. Useful for
  51. # quickly creating new accounts during development without having to register
  52. # new users via the management API.
  53. export DISABLE_AUTH=true
  54. # Set logging granularity. Possible values: 'trace', 'debug', 'info', 'warn',
  55. # 'error'.
  56. export LOG_LEVEL=info