fix: Configure Sablier lazy loading for docker-compose services
- Change restart policy from 'unless-stopped' to 'no' for services configured with Sablier middleware - Services affected: jellyfin, dozzle, glances, code-server, homarr, dokuwiki - Allows Sablier to control container startup/shutdown for lazy loading - Improves resource utilization by only running services when accessed
This commit is contained in:
@@ -58,7 +58,7 @@ services:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
container_name: homarr
|
||||
restart: unless-stopped
|
||||
restart: no
|
||||
networks:
|
||||
- homelab-network
|
||||
- traefik-network
|
||||
|
||||
@@ -120,7 +120,7 @@ services:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
container_name: dozzle
|
||||
restart: unless-stopped
|
||||
restart: no
|
||||
networks:
|
||||
- homelab-network
|
||||
- traefik-network
|
||||
@@ -154,7 +154,7 @@ services:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
container_name: glances
|
||||
restart: unless-stopped
|
||||
restart: no
|
||||
networks:
|
||||
- homelab-network
|
||||
- traefik-network
|
||||
@@ -188,7 +188,7 @@ services:
|
||||
cpus: '0.75'
|
||||
memory: 512M
|
||||
container_name: code-server
|
||||
restart: unless-stopped
|
||||
restart: no
|
||||
networks:
|
||||
- homelab-network
|
||||
- traefik-network
|
||||
|
||||
@@ -24,7 +24,7 @@ services:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
container_name: jellyfin
|
||||
restart: unless-stopped
|
||||
restart: no
|
||||
networks:
|
||||
- media-network
|
||||
- homelab-network
|
||||
|
||||
@@ -211,7 +211,7 @@ services:
|
||||
dokuwiki:
|
||||
image: lscr.io/linuxserver/dokuwiki:latest
|
||||
container_name: dokuwiki
|
||||
restart: unless-stopped
|
||||
restart: no
|
||||
networks:
|
||||
- homelab-network
|
||||
- traefik-network
|
||||
|
||||
Reference in New Issue
Block a user