From f1ab8211c95e4f19b2a633450c4eeeb2a6bcf3ac Mon Sep 17 00:00:00 2001 From: Crimekillz Date: Sun, 30 Jun 2024 02:29:36 +0200 Subject: [PATCH] Livepatching Halleluja! --- README.md | 1 + docs/examples/docker-compose.yml | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 827b3aba9..0fc1f8440 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ __2024.04.1 is out!__ - Highlighted changes: - Achievements adopting code from Sharkey/Misskey - Unified Bookmarks and Clips (Snippets, dev branch) + - Livepatching of Instances using the latest docker release or dev images (optional) - Chomp! Activity Support (Patch adopted [from mia](https://iceshrimp.dev/mia/withdrawal)) - Fast🚜 Scream🚜 Mod🔌 Tracker/SID playback support (Thanks to [Jeder](https://iceshrimp.dev/iceshrimp/iceshrimp/pulls/490)) - Suppress the "You haven't configured mail" message (Patch adopted [from mia](https://iceshrimp.dev/mia/withdrawal)) diff --git a/docs/examples/docker-compose.yml b/docs/examples/docker-compose.yml index 643680055..b26897099 100644 --- a/docs/examples/docker-compose.yml +++ b/docs/examples/docker-compose.yml @@ -50,6 +50,16 @@ services: volumes: - ./db:/var/lib/postgresql/data +# Watchtower keeps your container images for TrashPoss and Dependencies up to date +# In order to make proper use of this feature, target trashposs:dev or trashposs:release as a version... +# Uncomment this block if you use a fixed version or do not want auto updates + watchtower: + image: containrrr/watchtower + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - /root/.docker/config.json:/config.json + command: --interval 3600 trashposs_web trashposs_redis trashposs_db + ## Uncomment to enable federation with tor instances. You also need to add the following variables to .config/docker.env ## ALLOW_ACCESS_TO_HIDDEN_SERVICE=true ## You also need to set the following params in .config/default.yml