infra: hf-pdocker-01 Phase 2 migration — all services returned from failover
Node hf-pdocker-01 hardware fully repaired and rebuilt (2026-03-08). This commit captures the completed Phase 2 migration where all failover services are returned from hf-pdocker-02/bart back to hf-pdocker-01 as their permanent home. New compose stacks for hf-pdocker-01: - adguard: AdGuard Home DNS/ad-blocking (:3000, :53) - traefik: Reverse proxy with TLS (:80/:443/:8090), .env.example included - monitoring: Grafana, Prometheus, Alertmanager, InfluxDB, Blackbox, matrix-receiver - smarthome: Home Assistant (:8123), ESPHome (:6052), Mosquitto (:1883/:8883) - matrix: Synapse homeserver (:8008) + synapse-db + well-known (:8010) - guacamole: Guacamole (:8199) + guacd + guacamole-db (local MySQL) - farm-manager: Farm Manager API (:8888) Updated compose stacks for hf-pdocker-01: - frigate-notify: MQTT/Matrix hosts reverted from bart (.167) to hf-pdocker-01 (.192) Documentation: - docs/plans/2026-03-08-hf-pdocker-01-phase2-migration.md (new) - CLAUDE.md: Full service distribution update — failover labels removed, hf-pdocker-02/bart cleaned up to reflect only permanent services, NetClaw/Aaron added to hf-pdocker-02, DNSStubListener fix noted Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
services:
|
||||
guacamole:
|
||||
image: guacamole/guacamole:latest
|
||||
container_name: guacamole
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- GUACD_HOSTNAME=guacd
|
||||
- MYSQL_HOSTNAME=guacamole-db
|
||||
- MYSQL_DATABASE=guacamole_db
|
||||
- MYSQL_USER=guacamole_user
|
||||
- MYSQL_PASSWORD=guacamole_pass
|
||||
ports:
|
||||
- "8199:8080"
|
||||
networks:
|
||||
- guacamole-internal
|
||||
depends_on:
|
||||
guacamole-db:
|
||||
condition: service_healthy
|
||||
mem_limit: 512M
|
||||
memswap_limit: 512M
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/guacamole/ || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "50m"
|
||||
max-file: "3"
|
||||
|
||||
guacd:
|
||||
image: guacamole/guacd:latest
|
||||
container_name: guacd
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- guacamole-internal
|
||||
mem_limit: 512M
|
||||
memswap_limit: 512M
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "50m"
|
||||
max-file: "3"
|
||||
|
||||
guacamole-db:
|
||||
image: mysql:8.0
|
||||
container_name: guacamole-db
|
||||
user: "1024:100"
|
||||
restart: unless-stopped
|
||||
command: --innodb-use-native-aio=0 --innodb-buffer-pool-size=128M
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=guacamole_root
|
||||
- MYSQL_DATABASE=guacamole_db
|
||||
- MYSQL_USER=guacamole_user
|
||||
- MYSQL_PASSWORD=guacamole_pass
|
||||
volumes:
|
||||
# NFS cannot be used for MySQL due to persistent NLM lock issues (ibdata1, dblwr files)
|
||||
# guacamole-db uses LOCAL storage on hf-pdocker-01
|
||||
- /var/lib/guacamole-db:/var/lib/mysql
|
||||
networks:
|
||||
- guacamole-internal
|
||||
mem_limit: 512M
|
||||
memswap_limit: 512M
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=false"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "mysqladmin ping -h 127.0.0.1 --silent"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "50m"
|
||||
max-file: "3"
|
||||
|
||||
networks:
|
||||
guacamole-internal:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user