Fix dashboard stack resource limits corruption
- Fix malformed deploy.resources sections in homepage and homarr - Ensure proper YAML indentation for reservations sections - Apply web service resource limits (0.5 CPU, 256MB memory each) - Validate both deployed and repository configurations
This commit is contained in:
@@ -11,6 +11,15 @@ services:
|
|||||||
# Access at: https://home.${DOMAIN}
|
# Access at: https://home.${DOMAIN}
|
||||||
homepage:
|
homepage:
|
||||||
image: ghcr.io/gethomepage/homepage:latest
|
image: ghcr.io/gethomepage/homepage:latest
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.50'
|
||||||
|
memory: 256M
|
||||||
|
pids: 512
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 128M
|
||||||
container_name: homepage
|
container_name: homepage
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
@@ -40,6 +49,15 @@ services:
|
|||||||
# Access at: https://homarr.${DOMAIN}
|
# Access at: https://homarr.${DOMAIN}
|
||||||
homarr:
|
homarr:
|
||||||
image: ghcr.io/ajnart/homarr:latest
|
image: ghcr.io/ajnart/homarr:latest
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.50'
|
||||||
|
memory: 256M
|
||||||
|
pids: 512
|
||||||
|
reservations:
|
||||||
|
cpus: '0.25'
|
||||||
|
memory: 128M
|
||||||
container_name: homarr
|
container_name: homarr
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user