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'
|
cpus: '0.25'
|
||||||
memory: 128M
|
memory: 128M
|
||||||
container_name: homarr
|
container_name: homarr
|
||||||
restart: unless-stopped
|
restart: no
|
||||||
networks:
|
networks:
|
||||||
- homelab-network
|
- homelab-network
|
||||||
- traefik-network
|
- traefik-network
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ services:
|
|||||||
cpus: '0.25'
|
cpus: '0.25'
|
||||||
memory: 128M
|
memory: 128M
|
||||||
container_name: dozzle
|
container_name: dozzle
|
||||||
restart: unless-stopped
|
restart: no
|
||||||
networks:
|
networks:
|
||||||
- homelab-network
|
- homelab-network
|
||||||
- traefik-network
|
- traefik-network
|
||||||
@@ -154,7 +154,7 @@ services:
|
|||||||
cpus: '0.25'
|
cpus: '0.25'
|
||||||
memory: 128M
|
memory: 128M
|
||||||
container_name: glances
|
container_name: glances
|
||||||
restart: unless-stopped
|
restart: no
|
||||||
networks:
|
networks:
|
||||||
- homelab-network
|
- homelab-network
|
||||||
- traefik-network
|
- traefik-network
|
||||||
@@ -188,7 +188,7 @@ services:
|
|||||||
cpus: '0.75'
|
cpus: '0.75'
|
||||||
memory: 512M
|
memory: 512M
|
||||||
container_name: code-server
|
container_name: code-server
|
||||||
restart: unless-stopped
|
restart: no
|
||||||
networks:
|
networks:
|
||||||
- homelab-network
|
- homelab-network
|
||||||
- traefik-network
|
- traefik-network
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ services:
|
|||||||
cpus: '1.0'
|
cpus: '1.0'
|
||||||
memory: 1G
|
memory: 1G
|
||||||
container_name: jellyfin
|
container_name: jellyfin
|
||||||
restart: unless-stopped
|
restart: no
|
||||||
networks:
|
networks:
|
||||||
- media-network
|
- media-network
|
||||||
- homelab-network
|
- homelab-network
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ services:
|
|||||||
dokuwiki:
|
dokuwiki:
|
||||||
image: lscr.io/linuxserver/dokuwiki:latest
|
image: lscr.io/linuxserver/dokuwiki:latest
|
||||||
container_name: dokuwiki
|
container_name: dokuwiki
|
||||||
restart: unless-stopped
|
restart: no
|
||||||
networks:
|
networks:
|
||||||
- homelab-network
|
- homelab-network
|
||||||
- traefik-network
|
- traefik-network
|
||||||
|
|||||||
Reference in New Issue
Block a user