@rpcbase/server 0.261.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
|
|
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
|
|
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
|
package/package.json
CHANGED
|
@@ -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
|
-
]
|