@rpcbase/server 0.260.0 → 0.262.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84,7 +84,7 @@
84
84
  # You will also need to set a password unless you explicitly disable protected
85
85
  # mode.
86
86
  # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
87
- bind 127.0.0.1 -::1
87
+ bind 0.0.0.0
88
88
 
89
89
  # By default, outgoing connections (from replica to master, from Sentinel to
90
90
  # instances, cluster bus, etc.) are not bound to a specific local address. In
@@ -108,7 +108,7 @@ bind 127.0.0.1 -::1
108
108
  # By default protected mode is enabled. You should disable it only if
109
109
  # you are sure you want clients from other hosts to connect to Redis
110
110
  # even if no authentication is configured.
111
- protected-mode yes
111
+ protected-mode no
112
112
 
113
113
  # Redis uses default hardened security configuration directives to reduce the
114
114
  # attack surface on innocent users. Therefore, several sensitive configuration
@@ -135,7 +135,7 @@ protected-mode yes
135
135
 
136
136
  # Accept connections on the specified port, default is 6379 (IANA #815344).
137
137
  # If port 0 is specified Redis will not listen on a TCP socket.
138
- port 6379
138
+ # port 6379
139
139
 
140
140
  # TCP listen() backlog.
141
141
  #
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.260.0",
3
+ "version": "0.262.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -24,6 +24,7 @@ if (typeof SESSION_STORE_PORT === "string" && !validator.isPort(SESSION_STORE_PO
24
24
 
25
25
  const hostname = CONTAINER_MODE === "native" ? "127.0.0.1" : "session-store"
26
26
 
27
+ console.log("COTNAINER")
27
28
  console.log("session-store hostname", hostname, "port", SESSION_STORE_PORT)
28
29
 
29
30
  let session_middleware = null
@@ -1,19 +0,0 @@
1
- # docker-compose
2
- version: "3"
3
-
4
- services:
5
- # connect-redis session store
6
- session-store:
7
- image: redis:6.2.7-alpine
8
- volumes:
9
- - ./redis/redis.conf:/usr/local/etc/redis/redis.conf
10
- - ./data/session-store/log/:/var/log/
11
- networks:
12
- - local-network
13
- ports:
14
- - "127.0.0.1:$SESSION_STORE_PORT:$SESSION_STORE_PORT"
15
- command: [
16
- "redis-server",
17
- "/usr/local/etc/redis/redis.conf",
18
- "--port", $SESSION_STORE_PORT
19
- ]