mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-25 06:49:23 +01:00
Add deploy with docker swarm (#40)
This commit is contained in:
@@ -28,6 +28,15 @@ The simplest way to use dozzle is to run the docker container. Also, mount the D
|
||||
|
||||
dozzle will be available at [http://localhost:8888/](http://localhost:8888/). You can change `-p 8888:8080` to any port. For example, if you want to view dozzle over port 4040 then you would do `-p 4040:8080`.
|
||||
|
||||
## Docker swarm deploy
|
||||
|
||||
docker service create \
|
||||
--name=dozzle \
|
||||
--publish=8888:8080 \
|
||||
--constraint=node.role==manager \
|
||||
--mount=type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
|
||||
amir20/dozzle:latest
|
||||
|
||||
#### Security
|
||||
|
||||
dozzle doesn't support authentication out of the box. You can control the device dozzle binds to by passing `--addr` parameter. For example,
|
||||
|
||||
Reference in New Issue
Block a user