File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,13 +91,13 @@ docker build --pull --no-cache -t janus:latest .
91
91
start the container:
92
92
93
93
```
94
- docker run -d --restart always --net=host --name="janus" -e MAX_ROOM_SIZE=15 -e ADMIN_SECRET=YourOwnPassword janus:latest
94
+ docker run -d --restart unless-stopped --net=host --name="janus" -e MAX_ROOM_SIZE=15 -e ADMIN_SECRET=YourOwnPassword janus:latest
95
95
```
96
96
97
97
If you secure the rooms with JWT, specify the public key like this:
98
98
99
99
```
100
- docker run -d --restart always --net=host --name="janus" -e MAX_ROOM_SIZE=15 -e ADMIN_SECRET=YourOwnPassword -e AUTH_KEY=/keys/public.der -v $PWD/public.der:/keys/public.der:ro janus:latest
100
+ docker run -d --restart unless-stopped --net=host --name="janus" -e MAX_ROOM_SIZE=15 -e ADMIN_SECRET=YourOwnPassword -e AUTH_KEY=/keys/public.der -v $PWD/public.der:/keys/public.der:ro janus:latest
101
101
```
102
102
103
103
look at the logs:
Original file line number Diff line number Diff line change 1
1
services :
2
2
janus :
3
3
network_mode : host
4
- restart : always
4
+ restart : unless-stopped
5
5
build : .
6
6
image : janus:latest
7
7
environment :
You can’t perform that action at this time.
0 commit comments