clustered-fucks/compose-files/databases/phppgadmin/docker-compose.yml
Maddox 800166c2ac Fix download-stack healthchecks to test external connectivity
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>
2026-01-29 12:39:36 +00:00

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