pgadmin added

This commit is contained in:
kube-master@emrekirman.com 2025-10-11 14:01:39 +00:00
parent 48f0b0b757
commit 529834ca40
2 changed files with 23 additions and 0 deletions

2
pgadmin/README.md Normal file
View File

@ -0,0 +1,2 @@
docker stack deploy -c pgadmin.yml pgadmin

21
pgadmin/pgadmin.yml Normal file
View File

@ -0,0 +1,21 @@
version: "3.8"
services:
pgadmin:
image: dpage/pgadmin4:8.12
deploy:
mode: replicated
replicas: 1
environment:
PGADMIN_DEFAULT_EMAIL: emrekirman10@gmail.com
PGADMIN_DEFAULT_PASSWORD: eE24619840420*
PGADMIN_LISTEN_PORT: 80
volumes:
- pgadmin_data:/var/lib/pgadmin
networks:
- postgres_network
volumes:
pgadmin_data:
networks:
postgres_network:
external: true