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
823 B
YAML
34 lines
823 B
YAML
services:
|
|
phppgadmin:
|
|
image: dockage/phppgadmin:latest
|
|
container_name: phppgadmin
|
|
hostname: phppgadmin
|
|
environment:
|
|
# PostgreSQL on Hetzner (im)
|
|
- PHP_PG_ADMIN_SERVER_HOST=192.168.12.2
|
|
- PHP_PG_ADMIN_SERVER_PORT=55432
|
|
- PHP_PG_ADMIN_SERVER_SSL_MODE=allow
|
|
ports:
|
|
- "5183:80"
|
|
- "4433:443"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./data:/data
|
|
networks:
|
|
- proxy
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
cpus: '0.5'
|
|
labels:
|
|
- "autoheal=true"
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
- "homepage.group=Infrastructure"
|
|
- "homepage.name=PhpPGadmin"
|
|
- "homepage.icon=postgres.png"
|
|
- "homepage.href=https://phppgadmin.3ddbrewery.com"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|