settings.env 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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://ras.dev:5190
  34. # Network listeners for core OSCAR services that receive decrypted traffic from
  35. # an SSL terminator such as nginx. Clients that connect through these listeners
  36. # are redirected to the hostnames in OSCAR_ADVERTISED_LISTENERS_SSL, keeping
  37. # them on the SSL path for the rest of the session.
  38. #
  39. # Format:
  40. # - Comma-separated list of [NAME]://[HOSTNAME]:[PORT]
  41. # - Listener names and ports must be unique
  42. # - Each listener needs a listener in OSCAR_LISTENERS and
  43. # OSCAR_ADVERTISED_LISTENERS_SSL
  44. # - A listener without a matching OSCAR_ADVERTISED_LISTENERS_SSL entry is not
  45. # started
  46. #
  47. # Examples:
  48. # // Listen on all interfaces
  49. # LAN://0.0.0.0:5191
  50. # // Separate Internet and LAN config
  51. # WAN://142.250.176.206:5191,LAN://192.168.1.10:5192
  52. export OSCAR_LISTENERS_SSL=LOCAL://0.0.0.0:5191
  53. # Same as OSCAR_ADVERTISED_LISTENERS_PLAIN, except the hostname is for the
  54. # server that terminates SSL. Each listener defined here must have a matching
  55. # listener in OSCAR_LISTENERS_SSL for the terminator to forward decrypted
  56. # traffic to.
  57. export OSCAR_ADVERTISED_LISTENERS_SSL=LOCAL://ras.dev:5193
  58. # Network listeners for Kerberos authentication. See OSCAR_LISTENERS doc for
  59. # more details.
  60. #
  61. # Examples:
  62. # // Listen on all interfaces
  63. # LAN://0.0.0.0:1088
  64. # // Separate Internet and LAN config
  65. # WAN://142.250.176.206:1088,LAN://192.168.1.10:1087
  66. export KERBEROS_LISTENERS=LOCAL://0.0.0.0:1088
  67. # Network listeners for TOC protocol service.
  68. #
  69. # Format: Comma-separated list of hostname:port pairs.
  70. #
  71. # Examples:
  72. # // All interfaces
  73. # 0.0.0.0:9898
  74. # // Multiple listeners
  75. # 0.0.0.0:9898,192.168.1.10:9899
  76. export TOC_LISTENERS=0.0.0.0:9898
  77. # Network listener for management API binds to. Only 1 listener can be
  78. # specified. (Default 127.0.0.1 restricts to same machine only).
  79. export API_LISTENER=127.0.0.1:8080
  80. # Enable the WebAPI, which serves web-based AIM clients such as AIM Express.
  81. # When enabled, the server listens on WEBAPI_LISTENERS.
  82. export WEBAPI_ENABLED=true
  83. # Network listeners for WebAPI.
  84. #
  85. # Format: Comma-separated list of hostname:port pairs.
  86. #
  87. # Examples:
  88. # // All interfaces
  89. # 0.0.0.0:8081
  90. # // Multiple listeners
  91. # 0.0.0.0:8081,192.168.1.10:8082
  92. export WEBAPI_LISTENERS=0.0.0.0:8081
  93. # Origins allowed to call the WebAPI from a browser (CORS). A browser blocks a
  94. # cross-origin response whose origin is not listed here, so the client serving
  95. # the web app must appear in this list.
  96. #
  97. # Format:
  98. # - Comma-separated list of [SCHEME]://[HOSTNAME]:[PORT]
  99. # - An origin is the scheme, host and port together: a client served from
  100. # another port needs its own entry
  101. # - Omit the port when it is the scheme default, the way a browser writes it:
  102. # https://aim.example.com, not https://aim.example.com:443
  103. # - No trailing slash, path, query or fragment
  104. # - An entry may contain one wildcard (*) standing in for 0 or more characters,
  105. # in the host or the port: https://*.example.com, http://localhost:* . Only one
  106. # wildcard per entry, the scheme cannot be wildcarded, and matching one costs a
  107. # little more per request
  108. # - A lone * allows any origin, which is also what an unset or empty value
  109. # means
  110. #
  111. # Examples:
  112. # // Single origin
  113. # https://ras.dev
  114. # // Web app on a separate port, plus the API host itself
  115. # http://localhost:8000,https://ras.dev
  116. # // Any origin (development only)
  117. # *
  118. export WEBAPI_ALLOWED_ORIGINS=http://localhost:*
  119. # The path to the SQLite database file. The file and DB schema are auto-created
  120. # if they doesn't exist.
  121. export DB_PATH=oscar.sqlite
  122. # Disable password check and auto-create new users at login time. Useful for
  123. # quickly creating new accounts during development without having to register
  124. # new users via the management API.
  125. export DISABLE_AUTH=true
  126. # Disable notification sent when another client signs in with the same screen
  127. # name.
  128. export DISABLE_MULTI_LOGIN_NOTIF=true
  129. # Set logging granularity. Possible values: 'trace', 'debug', 'info', 'warn',
  130. # 'error'.
  131. export LOG_LEVEL=info
  132. # Fallback character set used to transcode IMs between Unicode-capable and
  133. # legacy clients. Possible values: Windows1250 (central european: polish, czech,
  134. # hungarian), Windows1251 (russian), Windows1252 (western european: english,
  135. # french, german), Windows1253 (greek), Windows1254 (turkish), Windows1255
  136. # (hebrew), Windows1256 (arabic), Windows1257 (baltic: lithuanian, latvian,
  137. # estonian), Windows1258 (vietnamese), KOI8R (russian), KOI8U (ukrainian).
  138. export ICBM_LEGACY_CHARSET=Windows1251
  139. # Enable legacy ICQ protocol support (v2-v5). Allows vintage ICQ clients to
  140. # connect.
  141. export ICQ_LEGACY_ENABLED=true
  142. # UDP listener address for legacy ICQ protocols.
  143. #
  144. # Format: HOST:PORT
  145. #
  146. # Examples:
  147. # // All interfaces
  148. # 0.0.0.0:4000
  149. # // Specific interface
  150. # 192.168.1.10:4000
  151. export ICQ_LEGACY_UDP_LISTENER=0.0.0.0:4000
  152. # Comma-separated list of supported ICQ protocol versions. Valid values: 1, 2,
  153. # 3, 4, 5 (V1 is experimental).
  154. export ICQ_LEGACY_VERSIONS=2,3,4,5
  155. # Session timeout for legacy ICQ connections. Sessions are cleaned up after this
  156. # duration of inactivity.
  157. export ICQ_LEGACY_SESSION_TIMEOUT=120s
  158. # Expected keep-alive interval from clients. Used for timeout calculations.
  159. export ICQ_LEGACY_KEEPALIVE_INTERVAL=120s
  160. # Allow automatic user registration from legacy clients. When enabled, new UINs
  161. # can be created via the legacy protocol.
  162. export ICQ_LEGACY_AUTO_REGISTRATION=false
  163. # Enable department listing feature (groupware functionality).
  164. export ICQ_LEGACY_DEPARTMENTS_ENABLED=false
  165. # Enable broadcast message functionality.
  166. export ICQ_LEGACY_BROADCAST_ENABLED=true
  167. # Enable Web Pager (WWP) message support.
  168. export ICQ_LEGACY_WWP_ENABLED=true
  169. # Comma-separated list of protocol versions that send real connection info (IP,
  170. # port) in user online notifications. Disabled for privacy and interoperability.
  171. # Required for peer-to-peer features (file transfer, direct chat). Example: 5 or
  172. # 3,4,5
  173. export ICQ_LEGACY_DIRECT_CONNECTIONS=5