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 .
9191start the container:
9292
9393```
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
9595```
9696
9797If you secure the rooms with JWT, specify the public key like this:
9898
9999```
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
101101```
102102
103103look at the logs:
Original file line number Diff line number Diff line change 11services :
22 janus :
33 network_mode : host
4- restart : always
4+ restart : unless-stopped
55 build : .
66 image : janus:latest
77 environment :
You can’t perform that action at this time.
0 commit comments