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:
EZ-Homelab
2026-01-22 19:12:35 -05:00
parent 4140a32adb
commit 30bf095fd3
4 changed files with 6 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ services:
cpus: '0.25'
memory: 128M
container_name: homarr
restart: unless-stopped
restart: no
networks:
- homelab-network
- traefik-network

View File

@@ -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

View File

@@ -24,7 +24,7 @@ services:
cpus: '1.0'
memory: 1G
container_name: jellyfin
restart: unless-stopped
restart: no
networks:
- media-network
- homelab-network

View File

@@ -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