From a7410ad32d6914c747a9d7510916532c2fbc854f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Apr 2026 16:40:32 +0000 Subject: [PATCH 1/2] Initial plan From 8fbae41ab23ebacc24967450c3031015bc968104 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Apr 2026 16:43:31 +0000 Subject: [PATCH 2/2] feat: remove pgadmin service and all related references Agent-Logs-Url: https://github.com/SeattleColleges/nsc-events-fullstack/sessions/1c2d0be3-bdc3-41cb-b95b-aa83284827e1 Co-authored-by: TVW96 <103076891+TVW96@users.noreply.github.com> --- .env.example | 6 ------ README.md | 1 - compose.yaml | 40 +------------------------------------- healthcheck-dependency.svg | 33 +++---------------------------- 4 files changed, 4 insertions(+), 76 deletions(-) diff --git a/.env.example b/.env.example index 9b1abaf..4ef7e6b 100644 --- a/.env.example +++ b/.env.example @@ -5,9 +5,3 @@ POSTGRES_USER=postgres POSTGRES_PASSWORD=1234 POSTGRES_DATABASE=nsc_events POSTGRES_PORT=5432 - -# pgAdmin Configuration -PGADMIN_DEFAULT_EMAIL=admin@example.com -PGADMIN_DEFAULT_PASSWORD=1234 -PGADMIN_CONFIG_SERVER_MODE=False -PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED=False diff --git a/README.md b/README.md index 1e279f6..8bd1cca 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ This is a monorepo containing both the frontend (Next.js) and backend (Nest.js) - Node.js 20.x or higher - npm - PostgreSQL 14 or higher -- pgAdmin ### Installation diff --git a/compose.yaml b/compose.yaml index 7f47bc1..c241fe7 100644 --- a/compose.yaml +++ b/compose.yaml @@ -137,43 +137,5 @@ services: retries: 5 start_period: 10s - ################################################### - # Service: pgadmin - ################################################### - pgadmin: - image: dpage/pgadmin4:latest - container_name: pgadmin-dev - environment: - PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-admin@example.com} - PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-1234} - PGADMIN_CONFIG_SERVER_MODE: ${PGADMIN_CONFIG_SERVER_MODE:-False} - PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: ${PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED:-False} - ports: - - "5050:80" - volumes: - - nsc-events-pgadmin-data:/var/lib/pgadmin - depends_on: - postgres: - condition: service_healthy - restart: unless-stopped - healthcheck: - test: - [ - "CMD", - "python3", - "-c", - "import urllib.request,sys; urllib.request.urlopen('http://127.0.0.1/misc/ping', timeout=3); sys.exit(0)" - ] - interval: 15s - timeout: 5s - retries: 5 - start_period: 30s - labels: - - traefik.enable=true - - traefik.http.routers.pgadmin.rule=Host(`db.localhost`) - - traefik.http.routers.pgadmin.entrypoints=web - - traefik.http.services.pgadmin.loadbalancer.server.port=80 - volumes: - nsc-events-postgres-data: - nsc-events-pgadmin-data: \ No newline at end of file + nsc-events-postgres-data: \ No newline at end of file diff --git a/healthcheck-dependency.svg b/healthcheck-dependency.svg index e28a844..4fde84b 100644 --- a/healthcheck-dependency.svg +++ b/healthcheck-dependency.svg @@ -64,10 +64,9 @@ font-size="8.5" font-weight="600" fill="#2b6cb0">compose.yaml : 130–138 @@ -78,16 +77,8 @@ font-family="system-ui,-apple-system,sans-serif" font-size="8.5" font-weight="600" fill="#4a5568">condition: service_healthy - - - - condition: service_healthy - @@ -108,24 +99,6 @@ font-family="system-ui,-apple-system,sans-serif" font-size="8.5" font-weight="600" fill="#e0234e">compose.yaml : 59–70 - - - - - - - 🛠 pgadmin-dev - 127.0.0.1:80/misc/ping - interval: 15s · timeout: 5s - retries: 5 · start_period: 30s - - compose.yaml : 159–170 -