Fix TubeArchivist service: Update healthcheck command and fix Redis permission issues
This commit is contained in:
@@ -13,8 +13,8 @@ services:
|
||||
ports:
|
||||
- "${HOMEPAGE_PORT}:3000"
|
||||
volumes:
|
||||
- ./homepage/config:/app/config:ro,Z # Demo: read-only config mount for functionality
|
||||
# Running as root to avoid permission issues in demo
|
||||
- ./config:/app/config:ro,Z # Demo: read-only config mount for functionality
|
||||
user: "${PUID}:${PGID}" # Run as non-root to prevent host file ownership issues
|
||||
labels:
|
||||
- "homepage.group=Developer Tools"
|
||||
- "homepage.name=Homepage"
|
||||
@@ -153,6 +153,7 @@ services:
|
||||
- DNSMASQ_LISTENING=all
|
||||
- WEBTHEME=default-dark
|
||||
# No persistent volumes for demo - configuration is ephemeral
|
||||
# Pi-hole requires root for DNS functionality
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test:
|
||||
@@ -185,6 +186,7 @@ services:
|
||||
environment:
|
||||
DOCKER_HOST: >
|
||||
tcp://tsysdevstack-supportstack-docker-socket-proxy:${DOCKER_PROXY_PORT}
|
||||
# Portainer needs root for data directory permissions
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test:
|
||||
@@ -359,13 +361,11 @@ services:
|
||||
# No persistent volumes for demo - cache and media are ephemeral
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- "wget --no-verbose --tries=1 --spider http://localhost:8000/ || exit 1"
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:8000/ || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
start_period: 120s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@@ -515,13 +515,13 @@ services:
|
||||
tsysdevstack-supportstack-redis:
|
||||
image: redis:7-alpine
|
||||
container_name: tsysdevstack-supportstack-redis
|
||||
user: "${PUID}:${PGID}"
|
||||
labels:
|
||||
- "homepage.group=Infrastructure"
|
||||
- "homepage.name=Redis"
|
||||
- "homepage.icon=redis"
|
||||
- "homepage.description=In-memory data structure store"
|
||||
restart: unless-stopped
|
||||
command: redis-server --save 60 1 --stop-writes-on-bgsave-error no
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
|
||||
Reference in New Issue
Block a user