Skip to content

Commit

Permalink
feat: add pagadmin
Browse files Browse the repository at this point in the history
Signed-off-by: Kago Kagichiri <[email protected]>

Signed-off-by: Kago Kagichiri <[email protected]>
  • Loading branch information
kulemantu committed Mar 24, 2024
1 parent d2aec4e commit 79d123b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pgadmin/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
VIRTUAL_HOST=pga.example.com
VIRTUAL_PORT=80
LETSENCRYPT_HOST=pga.example.com
LETSENCRYPT_EMAIL=[email protected]

# Credentials
PGA_EMAIL=[email protected]
PGA_PASSWORD=
24 changes: 24 additions & 0 deletions pgadmin/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: "3.8"

services:
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin4_container
restart: unless-stopped
ports:
- "8888:80"
env_file: .env
volumes:
- pgadmin-data:/var/lib/pgadmin
networks:
- proxy
- dbnet

volumes:
pgadmin-data:

networks:
proxy:
external: true
dbnet:
external: true

0 comments on commit 79d123b

Please sign in to comment.