The localhost healthchecks didn't detect when gluetun's network namespace died - services still responded locally but couldn't reach the internet. Changed healthchecks to curl http://1.1.1.1 which requires the VPN tunnel to be working. Also adds phpmyadmin, phppgadmin compose files and deploy playbook. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
34 lines
877 B
YAML
34 lines
877 B
YAML
services:
|
|
phpmyadmin:
|
|
image: phpmyadmin:latest
|
|
container_name: phpmyadmin
|
|
hostname: phpmyadmin
|
|
environment:
|
|
# Multiple MySQL hosts: Hetzner (im), NAS (different ports)
|
|
- PMA_HOSTS=192.168.12.3,192.168.1.251,192.168.1.251
|
|
- PMA_PORTS=3306,33306,3306
|
|
- MAX_EXECUTION_TIME=300
|
|
- MEMORY_LIMIT=512M
|
|
- UPLOAD_LIMIT=2048K
|
|
- TZ=America/Indiana/Indianapolis
|
|
ports:
|
|
- "2500:80"
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 512M
|
|
cpus: '1.0'
|
|
labels:
|
|
- "autoheal=true"
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
- "homepage.group=Infrastructure"
|
|
- "homepage.name=Phpmyadmin"
|
|
- "homepage.icon=phpmyadmin.png"
|
|
- "homepage.href=https://php.3ddbrewery.com"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|