Skip to content

Commit

Permalink
[Task]: docker 中的redis允许外部访问,作为 TRANSPORTER #6236
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Jan 15, 2024
1 parent b0f6b60 commit 63c4469
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions deploy/community/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ services:
steedos-community:
image: steedos/steedos-community:latest
container_name: steedos-community
build:
context: ./
dockerfile: ./Dockerfile
ports:
- "80:80"
- "443:443"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
directory=/etc/redis
; The `--save` is for saving session data to disk more often, so recent sessions aren't cleared on restart.
; The empty string to `--logfile` is for logging to stdout so that supervisor can capture it.
command=redis-server --save 15 1 --dir /steedos-storage/data/redis --daemonize no --logfile ""
command=redis-server --save 15 1 --dir /steedos-storage/data/redis --daemonize no --logfile "" --bind 0.0.0.0
priority=5
autostart=true
autorestart=true
Expand Down
3 changes: 3 additions & 0 deletions deploy/enterprise/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ services:
steedos-enterprise:
image: steedos/steedos-enterprise:latest
container_name: steedos-enterprise
build:
context: ./
dockerfile: ./Dockerfile
ports:
- "80:80"
- "443:443"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
directory=/etc/redis
; The `--save` is for saving session data to disk more often, so recent sessions aren't cleared on restart.
; The empty string to `--logfile` is for logging to stdout so that supervisor can capture it.
command=redis-server --save 15 1 --dir /steedos-storage/data/redis --daemonize no --logfile ""
command=redis-server --save 15 1 --dir /steedos-storage/data/redis --daemonize no --logfile "" --bind 0.0.0.0
priority=5
autostart=true
autorestart=true
Expand Down

0 comments on commit 63c4469

Please sign in to comment.