first commit

This commit is contained in:
Tour
2025-12-09 11:12:08 +01:00
commit c2dadf6148
7 changed files with 382 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
version: "3.9"
services:
pgadmin:
image: dpage/pgadmin4:8
container_name: pgadmin
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: admin@appmodel.nl
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD}
PGADMIN_CONFIG_SERVER_MODE: "True"
volumes:
- ./data:/var/lib/pgadmin
networks:
- traefik-net
- default
labels:
- "traefik.enable=true"
- "traefik.http.routers.pgadmin.rule=Host(`pgadmin.appmodel.nl`)"
- "traefik.http.routers.pgadmin.entrypoints=websecure"
- "traefik.http.routers.pgadmin.tls.certresolver=letsencrypt"
networks:
traefik-net:
external: true