settings.env 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. # Same as OSCAR_ADVERTISED_LISTENERS_PLAIN, except the hostname is for the
  35. # server that terminates SSL.
  36. export OSCAR_ADVERTISED_LISTENERS_SSL=LOCAL://ras.dev:5193
  37. # Network listeners for Kerberos authentication. See OSCAR_LISTENERS doc for
  38. # more details.
  39. #
  40. # Examples:
  41. # // Listen on all interfaces
  42. # LAN://0.0.0.0:1088
  43. # // Separate Internet and LAN config
  44. # WAN://142.250.176.206:1088,LAN://192.168.1.10:1087
  45. export KERBEROS_LISTENERS=LOCAL://0.0.0.0:1088
  46. # Network listeners for TOC protocol service.
  47. #
  48. # Format: Comma-separated list of hostname:port pairs.
  49. #
  50. # Examples:
  51. # // All interfaces
  52. # 0.0.0.0:9898
  53. # // Multiple listeners
  54. # 0.0.0.0:9898,192.168.1.10:9899
  55. export TOC_LISTENERS=0.0.0.0:9898
  56. # Network listener for management API binds to. Only 1 listener can be
  57. # specified. (Default 127.0.0.1 restricts to same machine only).
  58. export API_LISTENER=127.0.0.1:8080
  59. # Network listeners for WebAPI. See OSCAR_LISTENERS doc for more details.
  60. #
  61. # Examples:
  62. # // Listen on all interfaces
  63. # LAN://0.0.0.0:8081
  64. # // Separate Internet and LAN config
  65. # WAN://142.250.176.206:8081,LAN://192.168.1.10:8082
  66. export WEBAPI_LISTENERS=0.0.0.0:8081
  67. # The path to the SQLite database file. The file and DB schema are auto-created
  68. # if they doesn't exist.
  69. export DB_PATH=oscar.sqlite
  70. # Disable password check and auto-create new users at login time. Useful for
  71. # quickly creating new accounts during development without having to register
  72. # new users via the management API.
  73. export DISABLE_AUTH=true
  74. # Disable notification sent when another client signs in with the same screen
  75. # name.
  76. export DISABLE_MULTI_LOGIN_NOTIF=true
  77. # Set logging granularity. Possible values: 'trace', 'debug', 'info', 'warn',
  78. # 'error'.
  79. export LOG_LEVEL=info
  80. # Enable legacy ICQ protocol support (v2-v5). Allows vintage ICQ clients to
  81. # connect.
  82. export ICQ_LEGACY_ENABLED=true
  83. # UDP listener address for legacy ICQ protocols.
  84. #
  85. # Format: HOST:PORT
  86. #
  87. # Examples:
  88. # // All interfaces
  89. # 0.0.0.0:4000
  90. # // Specific interface
  91. # 192.168.1.10:4000
  92. export ICQ_LEGACY_UDP_LISTENER=0.0.0.0:4000
  93. # Comma-separated list of supported ICQ protocol versions. Valid values: 1, 2,
  94. # 3, 4, 5 (V1 is experimental).
  95. export ICQ_LEGACY_VERSIONS=2,3,4,5
  96. # Session timeout for legacy ICQ connections. Sessions are cleaned up after this
  97. # duration of inactivity.
  98. export ICQ_LEGACY_SESSION_TIMEOUT=120s
  99. # Expected keep-alive interval from clients. Used for timeout calculations.
  100. export ICQ_LEGACY_KEEPALIVE_INTERVAL=120s
  101. # Allow automatic user registration from legacy clients. When enabled, new UINs
  102. # can be created via the legacy protocol.
  103. export ICQ_LEGACY_AUTO_REGISTRATION=false
  104. # Enable department listing feature (groupware functionality).
  105. export ICQ_LEGACY_DEPARTMENTS_ENABLED=false
  106. # Enable broadcast message functionality.
  107. export ICQ_LEGACY_BROADCAST_ENABLED=true
  108. # Enable Web Pager (WWP) message support.
  109. export ICQ_LEGACY_WWP_ENABLED=true
  110. # Comma-separated list of protocol versions that send real connection info (IP,
  111. # port) in user online notifications. Disabled for privacy and interoperability.
  112. # Required for peer-to-peer features (file transfer, direct chat). Example: 5 or
  113. # 3,4,5
  114. export ICQ_LEGACY_DIRECT_CONNECTIONS=5