upload
This commit is contained in:
parent
aee818bd04
commit
6e059de128
|
@ -0,0 +1,2 @@
|
||||||
|
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||||
|
sh get-docker.sh
|
|
@ -0,0 +1,8 @@
|
||||||
|
docker run \
|
||||||
|
-d \
|
||||||
|
-p 9001:9001 \
|
||||||
|
--name portainer_agent \
|
||||||
|
--restart=always \
|
||||||
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
-v /var/lib/docker/volumes:/var/lib/docker/volumes \
|
||||||
|
portainer/agent:2.17.1
|
|
@ -0,0 +1,13 @@
|
||||||
|
docker run -d \
|
||||||
|
--name watchtower \
|
||||||
|
--restart=always \
|
||||||
|
-e TZ=Europe/Copenhagen \
|
||||||
|
-e WATCHTOWER_CLEANUP=true \
|
||||||
|
-e WATCHTOWER_INCLUDE_RESTARTING=true \
|
||||||
|
-e WATCHTOWER_INCLUDE_STOPPED=true \
|
||||||
|
-e WATCHTOWER_NOTIFICATION_SLACK_CHANNEL=#homelab \
|
||||||
|
-e WATCHTOWER_NOTIFICATIONS=slack \
|
||||||
|
-e WATCHTOWER_POLL_INTERVAL=21600 \
|
||||||
|
-e WATCHTOWER_ROLLING_RESTART=true \
|
||||||
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
containrrr/watchtower
|
Loading…
Reference in New Issue