From fcb632a7c46afb60f89c71903dd0837434495f38 Mon Sep 17 00:00:00 2001 From: Martin Hoyer Date: Thu, 15 Aug 2024 15:03:56 +0200 Subject: [PATCH] Remove tmt-web, compose yaml files --- compose.yaml | 26 -------------------------- tmt-web.yaml | 39 --------------------------------------- 2 files changed, 65 deletions(-) delete mode 100644 compose.yaml delete mode 100644 tmt-web.yaml diff --git a/compose.yaml b/compose.yaml deleted file mode 100644 index 2c051f5..0000000 --- a/compose.yaml +++ /dev/null @@ -1,26 +0,0 @@ -services: - web: - container_name: uvicorn - build: . - command: uvicorn src.api:app --reload --host 0.0.0.0 --port 8000 - environment: - - REDIS_URL=redis://redis:6379 - - API_HOSTNAME=http://localhost:8000 - ports: - - 8000:8000 - redis: - container_name: redis - image: redis:latest - ports: - - 6379:6379 - - celery: - container_name: celery - build: . - command: celery --app=src.api.service worker --loglevel=INFO - environment: - - REDIS_URL=redis://redis:6379 - - API_HOSTNAME=http://localhost:8000 - depends_on: - - redis - diff --git a/tmt-web.yaml b/tmt-web.yaml deleted file mode 100644 index 7546a0d..0000000 --- a/tmt-web.yaml +++ /dev/null @@ -1,39 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - creationTimestamp: "2024-04-23T11:20:25Z" - labels: - app: tmt-web - name: tmt-web -spec: - containers: - # Uvicorn - - image: quay.io/testing-farm/tmt-web:latest - args: - - uvicorn - name: uvicorn - ports: - - containerPort: 8000 - hostPort: 8000 - env: - - name: REDIS_URL - value: redis://redis:6379 - - name: API_HOSTNAME - value: http://localhost:8000 - # Celery - - image: quay.io/testing-farm/tmt-web:latest - args: - - celery - name: celery - env: - - name: REDIS_URL - value: redis://redis:6379 - - name: API_HOSTNAME - value: http://localhost:8000 - # Redis - - image: redis:latest - name: redis - ports: - - containerPort: 6379 - hostPort: 6379 -