From ad98693d9a92108d873eb78584c69109e3bd8f11 Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Sat, 16 Mar 2024 12:31:01 -0700 Subject: [PATCH] added watchtower --- README.md | 4 +--- watchtower/docker-compose.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 watchtower/docker-compose.yml diff --git a/README.md b/README.md index d3b148a..7e9641a 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ Checkout [https://www.nickyeoman.com/](https://www.nickyeoman.com/) to learn more. -With the exception of traefik and portainer the process is pretty much the same. - The idea is to run all these services off of one host and they are setup so you can run multiple versions of any software just by changing the .env file @@ -15,7 +13,7 @@ The process is: 1. PREFIX in .env should the project_name (for example nick_yeoman or ny) 1. docker-compose -p project_name up -d -To create multiple projects is a little bit more tricky as you have to +To create multiple projects is a little bit more tricky as you have to define new directories for the .env file. To do this I've just been copying the app folder to a domain-name folder. diff --git a/watchtower/docker-compose.yml b/watchtower/docker-compose.yml new file mode 100644 index 0000000..56a323b --- /dev/null +++ b/watchtower/docker-compose.yml @@ -0,0 +1,10 @@ +version: "3" + +# https://containrrr.dev/watchtower/ +# Untested + +services: + watchtower: + image: containrrr/watchtower + volumes: + - /var/run/docker.sock:/var/run/docker.sock