File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
- HOST = 127 .0.0.1
1
+ HOST = 0 .0.0.0
2
2
PORT = 8082
3
3
NODE_ENV = development
4
4
@@ -17,3 +17,4 @@ DB_PASSWORD=
17
17
DB_DATABASE = adonis
18
18
19
19
HASH_DRIVER = bcrypt
20
+ REDIS_CONNECTION = local
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ module.exports = {
32
32
|
33
33
*/
34
34
local : {
35
- host : '127.0.0.1 ' ,
35
+ host : 'redis ' ,
36
36
port : 6379 ,
37
37
password : null ,
38
38
db : 0 ,
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ services:
5
5
image : " node:12"
6
6
volumes :
7
7
- " ./backend_node/:/home/node/app"
8
+ environment :
9
+ - HOST=0.0.0.0 # listen on all interfaces
8
10
expose :
9
11
- " 8082"
10
12
command : bash -c "
@@ -27,7 +29,7 @@ services:
27
29
expose :
28
30
- " 8080"
29
31
command : bash -c "
30
- npm install -g @quasar/cli && npm install -g yarn && yarn && quasar dev
32
+ npm install -g @quasar/cli && yarn && quasar dev
31
33
"
32
34
working_dir: /home/node/app
33
35
ports:
You can’t perform that action at this time.
0 commit comments