[dozzle from file]
This commit is contained in:
13
swarm.yml
13
swarm.yml
@@ -302,6 +302,19 @@
|
||||
- node.role == manager
|
||||
networks:
|
||||
- public
|
||||
dozzle-from-file:
|
||||
container_name: dozzle-from-file
|
||||
image: alpine
|
||||
volumes:
|
||||
- /var/log/syslog:/var/log/stream.log
|
||||
command:
|
||||
- tail
|
||||
- -f
|
||||
- /var/log/stream.log
|
||||
network_mode: none
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
mode: global
|
||||
networks:
|
||||
public:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user