8ddd3c9da5
BusyBox wget (+ node/python/curl one-shots, incl mealie's socket tuple) resolve localhost -> IPv6 ::1 with no cross-family fallback; an IPv4-only-binding app reads docker-unhealthy while serving (vaultwarden, re-run 2026-07-06). Escalates that instance to the class. Scoped strictly to healthcheck test: lines (diff-reviewed: no env/config/label changed; .felhom.yml already clean). New REUSE.md convention row. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PSK5g6qYLknKj8u3QAFEr6
76 lines
2.0 KiB
YAML
76 lines
2.0 KiB
YAML
# Wanderer - Túra tervező és nyomkövetéssel
|
|
# Domain: ${SUBDOMAIN}.${DOMAIN}
|
|
# Database: None (file-based)
|
|
# RAM: ~100M (mem_limit: 384M) | Pi-compatible: Yes
|
|
#
|
|
# Environment variables:
|
|
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
|
# MEILI_MASTER_KEY- Keresőmotor kulcs (auto-generated)
|
|
|
|
services:
|
|
wanderer:
|
|
image: ghcr.io/flomp/wanderer:0.16.0
|
|
container_name: wanderer
|
|
restart: unless-stopped
|
|
depends_on:
|
|
wanderer-search:
|
|
condition: service_healthy
|
|
environment:
|
|
- TZ=Europe/Budapest
|
|
- MEILI_URL=http://wanderer-search:7700
|
|
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
|
|
- ORIGIN=https://${SUBDOMAIN}.${DOMAIN}
|
|
volumes:
|
|
- wanderer_data:/app/pb_data
|
|
networks:
|
|
- traefik-public
|
|
- wanderer-internal
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 384M
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:3000"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 30s
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.wanderer.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
|
|
- "traefik.http.routers.wanderer.entrypoints=websecure"
|
|
- "traefik.http.routers.wanderer.tls=true"
|
|
- "traefik.http.routers.wanderer.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.wanderer.loadbalancer.server.port=3000"
|
|
|
|
wanderer-search:
|
|
image: getmeili/meilisearch:v1.12
|
|
container_name: wanderer-search
|
|
restart: unless-stopped
|
|
environment:
|
|
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
|
|
- MEILI_NO_ANALYTICS=true
|
|
volumes:
|
|
- wanderer_meili_data:/meili_data
|
|
networks:
|
|
- wanderer-internal
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:7700/health"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 20s
|
|
|
|
volumes:
|
|
wanderer_data:
|
|
wanderer_meili_data:
|
|
|
|
networks:
|
|
traefik-public:
|
|
external: true
|
|
wanderer-internal:
|