From a9738b84fd39e3faf6beb390b868e74ed276758e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 27 Oct 2026 19:16:57 -0700 Subject: [PATCH] Remove `deploy.mode: global`. --- Config/DNS/docker-compose.example.yml | 1 - Config/F-DroidRepo/docker-compose.example.yml | 1 - Config/GhostExample/docker-compose.example.yml | 2 -- Config/Gitea/docker-compose.example.yml | 1 - Config/Gogs/docker-compose.example.yml | 1 - Config/HugoExample/docker-compose.example.yml | 1 - Config/Hyperling.com/docker-compose.example.yml | 1 - Config/LibreTranslate/docker-compose.example.yml | 1 - Config/Nextcloud/docker-compose.micro.yml | 3 --- Config/Nextcloud/docker-compose.standard.yml | 4 ---- Config/PhotoPrism/docker-compose.example.yml | 2 -- Config/Prosody/docker-compose.example.localbuild.yml | 1 - Config/ProvisionTests/docker-compose.example.yml | 5 ----- Config/ReverseProxy/docker-compose.example.yml | 2 -- Config/WordpressExample/docker-compose.example.yml | 2 -- 15 files changed, 28 deletions(-) diff --git a/Config/DNS/docker-compose.example.yml b/Config/DNS/docker-compose.example.yml index b46db25..e33bff4 100644 --- a/Config/DNS/docker-compose.example.yml +++ b/Config/DNS/docker-compose.example.yml @@ -16,7 +16,6 @@ services: - "53:53/udp" - "53:53/tcp" deploy: - mode: global resources: limits: cpus: $CPU diff --git a/Config/F-DroidRepo/docker-compose.example.yml b/Config/F-DroidRepo/docker-compose.example.yml index bda0854..2b6f69d 100644 --- a/Config/F-DroidRepo/docker-compose.example.yml +++ b/Config/F-DroidRepo/docker-compose.example.yml @@ -114,7 +114,6 @@ services: volumes: - fdroid_data:/root/fdroid deploy: - mode: global resources: limits: cpus: $CPU diff --git a/Config/GhostExample/docker-compose.example.yml b/Config/GhostExample/docker-compose.example.yml index bf0196d..bf51ebd 100644 --- a/Config/GhostExample/docker-compose.example.yml +++ b/Config/GhostExample/docker-compose.example.yml @@ -25,7 +25,6 @@ services: volumes: - ../../Volumes/Ghost/ghost:/var/lib/ghost/content deploy: - mode: global resources: limits: cpus: $CPU @@ -43,7 +42,6 @@ services: volumes: - ../../Volumes/Ghost/db:/var/lib/mysql deploy: - mode: global resources: limits: cpus: $CPU_DB diff --git a/Config/Gitea/docker-compose.example.yml b/Config/Gitea/docker-compose.example.yml index 4226352..376b74f 100644 --- a/Config/Gitea/docker-compose.example.yml +++ b/Config/Gitea/docker-compose.example.yml @@ -27,7 +27,6 @@ services: - USER_UID=1000 - USER_GID=1000 deploy: - mode: global resources: limits: cpus: $CPU diff --git a/Config/Gogs/docker-compose.example.yml b/Config/Gogs/docker-compose.example.yml index 5ce41f4..8f05049 100644 --- a/Config/Gogs/docker-compose.example.yml +++ b/Config/Gogs/docker-compose.example.yml @@ -26,7 +26,6 @@ services: environment: - "RUN_CROND=true" deploy: - mode: global resources: limits: cpus: $CPU diff --git a/Config/HugoExample/docker-compose.example.yml b/Config/HugoExample/docker-compose.example.yml index 9bb7775..b60b91e 100644 --- a/Config/HugoExample/docker-compose.example.yml +++ b/Config/HugoExample/docker-compose.example.yml @@ -23,7 +23,6 @@ services: retries: 2 start_period: 30s deploy: - mode: global resources: limits: cpus: $CPU diff --git a/Config/Hyperling.com/docker-compose.example.yml b/Config/Hyperling.com/docker-compose.example.yml index 2fe00ff..d9ecd77 100644 --- a/Config/Hyperling.com/docker-compose.example.yml +++ b/Config/Hyperling.com/docker-compose.example.yml @@ -15,7 +15,6 @@ services: volumes: - ./files:/var/www/api/files deploy: - mode: global resources: limits: cpus: $CPU diff --git a/Config/LibreTranslate/docker-compose.example.yml b/Config/LibreTranslate/docker-compose.example.yml index 61843e8..c038fa2 100644 --- a/Config/LibreTranslate/docker-compose.example.yml +++ b/Config/LibreTranslate/docker-compose.example.yml @@ -48,7 +48,6 @@ services: # Avoid re-downloading language models every reboot. - libretranslate_models:/home/libretranslate/.local:rw deploy: - mode: global resources: limits: cpus: $CPU diff --git a/Config/Nextcloud/docker-compose.micro.yml b/Config/Nextcloud/docker-compose.micro.yml index 339f906..4657ea5 100644 --- a/Config/Nextcloud/docker-compose.micro.yml +++ b/Config/Nextcloud/docker-compose.micro.yml @@ -34,7 +34,6 @@ services: - MYSQL_USER=$MYSQL_USER - MYSQL_PASSWORD=$MYSQL_PASSWORD deploy: - mode: global resources: limits: cpus: '0.20' @@ -47,7 +46,6 @@ services: restart: always command: redis-server --requirepass $REDIS_HOST_PASSWORD deploy: - mode: global resources: limits: cpus: '0.10' @@ -95,7 +93,6 @@ services: - REDIS_HOST=$REDIS_HOST - REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD deploy: - mode: global resources: limits: cpus: '0.40' diff --git a/Config/Nextcloud/docker-compose.standard.yml b/Config/Nextcloud/docker-compose.standard.yml index 0343153..8524897 100644 --- a/Config/Nextcloud/docker-compose.standard.yml +++ b/Config/Nextcloud/docker-compose.standard.yml @@ -32,7 +32,6 @@ services: - MYSQL_USER=$MYSQL_USER - MYSQL_PASSWORD=$MYSQL_PASSWORD deploy: - mode: global resources: limits: cpus: '0.50' @@ -48,7 +47,6 @@ services: restart: always command: redis-server --requirepass $REDIS_HOST_PASSWORD deploy: - mode: global resources: limits: cpus: '0.25' @@ -64,7 +62,6 @@ services: environment: - JWT_SECRET=$JWT_SECRET deploy: - mode: global resources: limits: cpus: '0.75' @@ -96,7 +93,6 @@ services: - REDIS_HOST=$REDIS_HOST - REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD deploy: - mode: global resources: limits: cpus: '2.00' diff --git a/Config/PhotoPrism/docker-compose.example.yml b/Config/PhotoPrism/docker-compose.example.yml index eb98828..e4df71d 100644 --- a/Config/PhotoPrism/docker-compose.example.yml +++ b/Config/PhotoPrism/docker-compose.example.yml @@ -118,7 +118,6 @@ services: # Importing reorganizes files+folders, would rather they remain intact. #- "../../Volumes/PhotoPrism/imports_go_here:/photoprism/import" deploy: - mode: global resources: limits: cpus: $CPU @@ -149,7 +148,6 @@ services: MARIADB_PASSWORD: $MARIADB_PASSWORD MARIADB_ROOT_PASSWORD: $MARIADB_ROOT_PASSWORD deploy: - mode: global resources: limits: cpus: $CPU_DB diff --git a/Config/Prosody/docker-compose.example.localbuild.yml b/Config/Prosody/docker-compose.example.localbuild.yml index 9381ca9..5d32626 100644 --- a/Config/Prosody/docker-compose.example.localbuild.yml +++ b/Config/Prosody/docker-compose.example.localbuild.yml @@ -55,7 +55,6 @@ services: - prosody_certs:/etc/letsencrypt/live - prosody_cert_archive:/etc/letsencrypt/archive deploy: - mode: global resources: limits: cpus: $CPU diff --git a/Config/ProvisionTests/docker-compose.example.yml b/Config/ProvisionTests/docker-compose.example.yml index 1e5c2d0..20157e1 100644 --- a/Config/ProvisionTests/docker-compose.example.yml +++ b/Config/ProvisionTests/docker-compose.example.yml @@ -35,7 +35,6 @@ services: volume: subpath: arch deploy: - mode: global resources: limits: cpus: $CPU @@ -65,7 +64,6 @@ services: volume: subpath: debian deploy: - mode: global resources: limits: cpus: $CPU @@ -95,7 +93,6 @@ services: volume: subpath: fedora deploy: - mode: global resources: limits: cpus: $CPU @@ -125,7 +122,6 @@ services: volume: subpath: opensuse deploy: - mode: global resources: limits: cpus: $CPU @@ -155,7 +151,6 @@ services: volume: subpath: ubuntu deploy: - mode: global resources: limits: cpus: $CPU diff --git a/Config/ReverseProxy/docker-compose.example.yml b/Config/ReverseProxy/docker-compose.example.yml index 2ab18ef..2cae7ce 100644 --- a/Config/ReverseProxy/docker-compose.example.yml +++ b/Config/ReverseProxy/docker-compose.example.yml @@ -21,7 +21,6 @@ services: - ../../Volumes/ReverseProxy/letsencrypt-certs:/etc/nginx/certs command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'" deploy: - mode: global resources: limits: cpus: $CPU @@ -36,7 +35,6 @@ services: - ../../Volumes/ReverseProxy/letsencrypt-certs:/etc/letsencrypt/nginx entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; cp -rL /etc/letsencrypt/live/* /etc/letsencrypt/nginx/; sleep 12h & wait $${!}; done;'" deploy: - mode: global resources: limits: cpus: $CPU_LE diff --git a/Config/WordpressExample/docker-compose.example.yml b/Config/WordpressExample/docker-compose.example.yml index 4615c9d..08c6705 100644 --- a/Config/WordpressExample/docker-compose.example.yml +++ b/Config/WordpressExample/docker-compose.example.yml @@ -43,7 +43,6 @@ services: WORDPRESS_DB_PASSWORD: $MARIADB_ROOT_PASSWORD WORDPRESS_DEBUG: $WORDPRESS_DEBUG deploy: - mode: global resources: limits: cpus: $WP_CPU @@ -69,7 +68,6 @@ services: MARIADB_ROOT_PASSWORD: $MARIADB_ROOT_PASSWORD MARIADB_AUTO_UPGRADE: $MARIADB_AUTO_UPGRADE deploy: - mode: global resources: limits: cpus: $WP_CPU_DB