Remove deploy.mode: global.

This commit is contained in:
me committed 2026-10-27 19:16:57 -07:00
1 parent eeb275d0eb
commit a9738b84fd
15 files changed
-28

No files matched your search

-1
View File
@@ -16,7 +16,6 @@ services:
- "53:53/udp" - "53:53/udp"
- "53:53/tcp" - "53:53/tcp"
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -114,7 +114,6 @@ services:
volumes: volumes:
- fdroid_data:/root/fdroid - fdroid_data:/root/fdroid
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -25,7 +25,6 @@ services:
volumes: volumes:
- ../../Volumes/Ghost/ghost:/var/lib/ghost/content - ../../Volumes/Ghost/ghost:/var/lib/ghost/content
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -43,7 +42,6 @@ services:
volumes: volumes:
- ../../Volumes/Ghost/db:/var/lib/mysql - ../../Volumes/Ghost/db:/var/lib/mysql
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU_DB cpus: $CPU_DB
-1
View File
@@ -27,7 +27,6 @@ services:
- USER_UID=1000 - USER_UID=1000
- USER_GID=1000 - USER_GID=1000
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
-1
View File
@@ -26,7 +26,6 @@ services:
environment: environment:
- "RUN_CROND=true" - "RUN_CROND=true"
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -23,7 +23,6 @@ services:
retries: 2 retries: 2
start_period: 30s start_period: 30s
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -15,7 +15,6 @@ services:
volumes: volumes:
- ./files:/var/www/api/files - ./files:/var/www/api/files
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -48,7 +48,6 @@ services:
# Avoid re-downloading language models every reboot. # Avoid re-downloading language models every reboot.
- libretranslate_models:/home/libretranslate/.local:rw - libretranslate_models:/home/libretranslate/.local:rw
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -34,7 +34,6 @@ services:
- MYSQL_USER=$MYSQL_USER - MYSQL_USER=$MYSQL_USER
- MYSQL_PASSWORD=$MYSQL_PASSWORD - MYSQL_PASSWORD=$MYSQL_PASSWORD
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: '0.20' cpus: '0.20'
@@ -47,7 +46,6 @@ services:
restart: always restart: always
command: redis-server --requirepass $REDIS_HOST_PASSWORD command: redis-server --requirepass $REDIS_HOST_PASSWORD
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: '0.10' cpus: '0.10'
@@ -95,7 +93,6 @@ services:
- REDIS_HOST=$REDIS_HOST - REDIS_HOST=$REDIS_HOST
- REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD - REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: '0.40' cpus: '0.40'
@@ -32,7 +32,6 @@ services:
- MYSQL_USER=$MYSQL_USER - MYSQL_USER=$MYSQL_USER
- MYSQL_PASSWORD=$MYSQL_PASSWORD - MYSQL_PASSWORD=$MYSQL_PASSWORD
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: '0.50' cpus: '0.50'
@@ -48,7 +47,6 @@ services:
restart: always restart: always
command: redis-server --requirepass $REDIS_HOST_PASSWORD command: redis-server --requirepass $REDIS_HOST_PASSWORD
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: '0.25' cpus: '0.25'
@@ -64,7 +62,6 @@ services:
environment: environment:
- JWT_SECRET=$JWT_SECRET - JWT_SECRET=$JWT_SECRET
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: '0.75' cpus: '0.75'
@@ -96,7 +93,6 @@ services:
- REDIS_HOST=$REDIS_HOST - REDIS_HOST=$REDIS_HOST
- REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD - REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: '2.00' cpus: '2.00'
@@ -118,7 +118,6 @@ services:
# Importing reorganizes files+folders, would rather they remain intact. # Importing reorganizes files+folders, would rather they remain intact.
#- "../../Volumes/PhotoPrism/imports_go_here:/photoprism/import" #- "../../Volumes/PhotoPrism/imports_go_here:/photoprism/import"
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -149,7 +148,6 @@ services:
MARIADB_PASSWORD: $MARIADB_PASSWORD MARIADB_PASSWORD: $MARIADB_PASSWORD
MARIADB_ROOT_PASSWORD: $MARIADB_ROOT_PASSWORD MARIADB_ROOT_PASSWORD: $MARIADB_ROOT_PASSWORD
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU_DB cpus: $CPU_DB
@@ -55,7 +55,6 @@ services:
- prosody_certs:/etc/letsencrypt/live - prosody_certs:/etc/letsencrypt/live
- prosody_cert_archive:/etc/letsencrypt/archive - prosody_cert_archive:/etc/letsencrypt/archive
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -35,7 +35,6 @@ services:
volume: volume:
subpath: arch subpath: arch
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -65,7 +64,6 @@ services:
volume: volume:
subpath: debian subpath: debian
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -95,7 +93,6 @@ services:
volume: volume:
subpath: fedora subpath: fedora
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -125,7 +122,6 @@ services:
volume: volume:
subpath: opensuse subpath: opensuse
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -155,7 +151,6 @@ services:
volume: volume:
subpath: ubuntu subpath: ubuntu
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -21,7 +21,6 @@ services:
- ../../Volumes/ReverseProxy/letsencrypt-certs:/etc/nginx/certs - ../../Volumes/ReverseProxy/letsencrypt-certs:/etc/nginx/certs
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'" command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU cpus: $CPU
@@ -36,7 +35,6 @@ services:
- ../../Volumes/ReverseProxy/letsencrypt-certs:/etc/letsencrypt/nginx - ../../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;'" entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; cp -rL /etc/letsencrypt/live/* /etc/letsencrypt/nginx/; sleep 12h & wait $${!}; done;'"
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $CPU_LE cpus: $CPU_LE
@@ -43,7 +43,6 @@ services:
WORDPRESS_DB_PASSWORD: $MARIADB_ROOT_PASSWORD WORDPRESS_DB_PASSWORD: $MARIADB_ROOT_PASSWORD
WORDPRESS_DEBUG: $WORDPRESS_DEBUG WORDPRESS_DEBUG: $WORDPRESS_DEBUG
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $WP_CPU cpus: $WP_CPU
@@ -69,7 +68,6 @@ services:
MARIADB_ROOT_PASSWORD: $MARIADB_ROOT_PASSWORD MARIADB_ROOT_PASSWORD: $MARIADB_ROOT_PASSWORD
MARIADB_AUTO_UPGRADE: $MARIADB_AUTO_UPGRADE MARIADB_AUTO_UPGRADE: $MARIADB_AUTO_UPGRADE
deploy: deploy:
mode: global
resources: resources:
limits: limits:
cpus: $WP_CPU_DB cpus: $WP_CPU_DB