Resource variables do not need set in environment area.

This commit is contained in:
2025-10-30 07:34:35 -07:00
parent 05374bf501
commit 89d166f0cc
4 changed files with 0 additions and 12 deletions

View File

@@ -26,8 +26,6 @@ services:
environment:
- USER_UID=1000
- USER_GID=1000
- CPU=$CPU
- MEM=$MEM
deploy:
mode: global
resources:

View File

@@ -16,8 +16,6 @@ services:
- BRANCH=$BRANCH
- PROD=$PROD
- DEV=$DEV
- CPU=$CPU
- MEM=$MEM
healthcheck:
test: curl -sS http://localhost:80 || curl -sS http://localhost:1380 || exit 1
interval: 1m

View File

@@ -12,8 +12,6 @@ services:
- 8317:8080
environment:
- BRANCH=$BRANCH
- CPU=$CPU
- MEM=$MEM
volumes:
- ./files:/var/www/api/files
deploy:

View File

@@ -16,9 +16,6 @@ services:
ports:
- "80:80"
- "443:443"
environment:
- CPU=$CPU
- MEM=$MEM
volumes:
- ../../Volumes/ReverseProxy/letsencrypt:/etc/nginx/letsencrypt
- ../../Volumes/ReverseProxy/letsencrypt-certs:/etc/nginx/certs
@@ -34,9 +31,6 @@ services:
container_name: rp-certbot
image: certbot/certbot
restart: always
environment:
- CPU_LE=$CPU_LE
- MEM_LE=$MEM_LE
volumes:
- ../../Volumes/ReverseProxy/letsencrypt:/etc/letsencrypt
- ../../Volumes/ReverseProxy/letsencrypt-certs:/etc/letsencrypt/nginx