From 83441b6c69edb68bf27fe8897162661b350423de Mon Sep 17 00:00:00 2001 From: James Wampler Date: Mon, 6 Jul 2026 10:33:02 -0700 Subject: [PATCH] Removing old docker-compose file. Use Aspire instead --- docker-compose.yml | 60 ---------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100755 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100755 index 9d97c89..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,60 +0,0 @@ -services: - - # ── PostgreSQL ─────────────────────────────────────────────────────────────── - db: - image: postgres:16-alpine - environment: - POSTGRES_DB: miccheck - POSTGRES_USER: miccheck - POSTGRES_PASSWORD: password - ports: - - "5432:5432" - volumes: - - postgres_data:/var/lib/postgresql/data - healthcheck: - test: ["CMD-SHELL", "pg_isready -U miccheck -d miccheck"] - interval: 5s - timeout: 5s - retries: 10 - - # ── .NET API ───────────────────────────────────────────────────────────────── - api: - build: - context: . - dockerfile: src/api/MicCheck.Api/Dockerfile - ports: - - "8080:8080" - volumes: - - ./src/api/MicCheck.Api/publish:/app - environment: - ASPNETCORE_ENVIRONMENT: Development - ASPNETCORE_URLS: http://+:8080 - ConnectionStrings__DefaultConnection: "Host=db;Database=miccheck;Username=miccheck;Password=password" - Jwt__SecretKey: "miccheck-dev-secret-key-change-in-production!!" - Jwt__Issuer: MicCheck - Jwt__Audience: MicCheck - depends_on: - db: - condition: service_healthy - healthcheck: - test: ["CMD-SHELL", "wget -qO- http://localhost:8080/api/v1/health 2>/dev/null || exit 0"] - interval: 10s - timeout: 5s - retries: 5 - start_period: 20s - - # ── Vue Admin Site (nginx) ─────────────────────────────────────────────────── - admin: - build: - context: src/admin - dockerfile: Dockerfile - ports: - - "3000:80" - volumes: - - ./src/admin/dist:/usr/share/nginx/html - depends_on: - api: - condition: service_started - -volumes: - postgres_data: