From e8c54bcb9f5d2d3c462a5224ad63444f07228ddc Mon Sep 17 00:00:00 2001 From: "Simon R. - fantomitechno" Date: Fri, 24 Jul 2026 10:32:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20restart=20unless=20stoped=20cont?= =?UTF-8?q?ainers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/fant0mib0t/cryptpad/docker-compose.yml | 1 + docker/fant0mib0t/gitea/docker-compose.yml | 5 +++-- docker/fant0mib0t/immich/docker-compose.yml | 8 ++++---- docker/fant0mib0t/kiwix/docker-compose.yml | 1 + docker/fant0mib0t/mastodon/docker-compose.yml | 10 +++++----- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/docker/fant0mib0t/cryptpad/docker-compose.yml b/docker/fant0mib0t/cryptpad/docker-compose.yml index 4cd1eec..60061ea 100644 --- a/docker/fant0mib0t/cryptpad/docker-compose.yml +++ b/docker/fant0mib0t/cryptpad/docker-compose.yml @@ -3,6 +3,7 @@ services: cryptpad: image: "cryptpad/cryptpad:version-2026.5.1" container_name: cryptpad + restart: unless-stopped environment: - CPAD_MAIN_DOMAIN=https://drive.renoux.dev diff --git a/docker/fant0mib0t/gitea/docker-compose.yml b/docker/fant0mib0t/gitea/docker-compose.yml index 853e37a..3c932fa 100644 --- a/docker/fant0mib0t/gitea/docker-compose.yml +++ b/docker/fant0mib0t/gitea/docker-compose.yml @@ -3,6 +3,7 @@ services: anubis: image: ghcr.io/techarohq/anubis:v1.26.0-pre1 container_name: anubis + restart: unless-stopped environment: BIND: ":8080" DIFFICULTY: "4" @@ -27,7 +28,7 @@ services: image: docker.gitea.com/gitea:1.26.4 container_name: gitea env_file: .env - restart: always + restart: unless-stopped volumes: - /nas/gitea/data:/data - /etc/timezone:/etc/timezone:ro @@ -40,7 +41,7 @@ services: db: image: docker.io/library/postgres:14 container_name: gitea_postgres - restart: always + restart: unless-stopped env_file: .env networks: - gitea diff --git a/docker/fant0mib0t/immich/docker-compose.yml b/docker/fant0mib0t/immich/docker-compose.yml index 5847014..fdbb600 100644 --- a/docker/fant0mib0t/immich/docker-compose.yml +++ b/docker/fant0mib0t/immich/docker-compose.yml @@ -16,7 +16,7 @@ services: depends_on: - redis - database - restart: always + restart: unless-stopped healthcheck: disable: false @@ -32,7 +32,7 @@ services: - model-cache:/cache env_file: - .env - restart: always + restart: unless-stopped healthcheck: disable: false @@ -41,7 +41,7 @@ services: image: docker.io/valkey/valkey:9@sha256:3b55fbaa0cd93cf0d9d961f405e4dfcc70efe325e2d84da207a0a8e6d8fde4f9 healthcheck: test: redis-cli ping || exit 1 - restart: always + restart: unless-stopped database: container_name: immich_postgres @@ -56,7 +56,7 @@ services: volumes: - pg_data:/var/lib/postgresql/data shm_size: 128mb - restart: always + restart: unless-stopped healthcheck: disable: false diff --git a/docker/fant0mib0t/kiwix/docker-compose.yml b/docker/fant0mib0t/kiwix/docker-compose.yml index 2987cd6..4e73cde 100644 --- a/docker/fant0mib0t/kiwix/docker-compose.yml +++ b/docker/fant0mib0t/kiwix/docker-compose.yml @@ -3,6 +3,7 @@ services: kiwix: container_name: kiwix image: ghcr.io/kiwix/kiwix-serve:latest + restart: unless-stopped volumes: - /nas/kiwix:/data command: diff --git a/docker/fant0mib0t/mastodon/docker-compose.yml b/docker/fant0mib0t/mastodon/docker-compose.yml index ee7368e..28e4aa3 100644 --- a/docker/fant0mib0t/mastodon/docker-compose.yml +++ b/docker/fant0mib0t/mastodon/docker-compose.yml @@ -1,7 +1,7 @@ name: mastodon services: db: - restart: always + restart: unless-stopped image: postgres:14-alpine container_name: mastodon_postgres shm_size: 256mb @@ -15,7 +15,7 @@ services: POSTGRES_PASSWORD: ${DB_PASS} redis: - restart: always + restart: unless-stopped image: redis:7-alpine container_name: mastodon_redis healthcheck: @@ -24,7 +24,7 @@ services: web: image: ghcr.io/mastodon/mastodon:v4.6.2 container_name: mastodon_web - restart: always + restart: unless-stopped env_file: .env command: bundle exec puma -C config/puma.rb healthcheck: @@ -45,7 +45,7 @@ services: streaming: image: ghcr.io/mastodon/mastodon-streaming:v4.6.2 container_name: mastodon_streaming - restart: always + restart: unless-stopped env_file: .env command: node ./streaming/index.js healthcheck: @@ -63,7 +63,7 @@ services: sidekiq: image: ghcr.io/mastodon/mastodon:v4.6.2 container_name: mastodon_sidekiq - restart: always + restart: unless-stopped env_file: .env command: bundle exec sidekiq depends_on: -- 2.51.2