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