added watchtower

This commit is contained in:
2024-03-16 12:31:01 -07:00
parent 4461e7f629
commit ad98693d9a
2 changed files with 11 additions and 3 deletions
+1 -3
View File
@@ -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.
+10
View File
@@ -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