From 0559c2f533ce009dd12b451e7ad6aa94cd337388 Mon Sep 17 00:00:00 2001 From: Marcin Kozlowski Date: Mon, 6 Jan 2025 13:13:41 +0100 Subject: [PATCH] Delete dockerhub directory Signed-off-by: Marcin Kozlowski --- dockerhub/README.md | 10 ----- dockerhub/docker-compose.yml | 85 ------------------------------------ 2 files changed, 95 deletions(-) delete mode 100644 dockerhub/README.md delete mode 100644 dockerhub/docker-compose.yml diff --git a/dockerhub/README.md b/dockerhub/README.md deleted file mode 100644 index 447fc92e..00000000 --- a/dockerhub/README.md +++ /dev/null @@ -1,10 +0,0 @@ -Setup - -docker compose up - -Go in the Bowser to: - -`http://localhost:5000` - -Signup up and login to use your local installation. - diff --git a/dockerhub/docker-compose.yml b/dockerhub/docker-compose.yml deleted file mode 100644 index 93bc18ac..00000000 --- a/dockerhub/docker-compose.yml +++ /dev/null @@ -1,85 +0,0 @@ -services: - server: - image: tcosolutions/betterscan-server:latest - restart: always - environment: - QC_SETTINGS: /srv/betterscan/quantifiedcode/settings/default.yml - depends_on: - postgres: - condition: service_healthy - working_dir: /srv/betterscan/ - entrypoint: sh - command: -c "mkdir -p data1/repositories data2/tasks setup_state && \ - if [ -f /srv/betterscan/setup_state/setup_done ]; \ - then python /srv/betterscan/manage.py runserver; \ - else python /srv/betterscan/manage.py setup && touch /srv/betterscan/setup_state/setup_done; \ - fi" - ports: - - 5001:5000 - volumes: - - data1:/srv/betterscan/quantifiedcode/data/ - - data2:/srv/betterscan/quantifiedcode/backend/data/tasks - - setup_state:/srv/betterscan/setup_state - - postgres: - image: postgres:13.2 - restart: always - environment: - POSTGRES_DB: qc - POSTGRES_USER: qc - POSTGRES_PASSWORD: qc - PGDATA: /var/lib/postgresql/data/pgdata - ports: - - "5432:5432" - volumes: - - db-data:/var/lib/postgresql/data - healthcheck: - test: ["CMD-SHELL", "pg_isready -U qc"] - interval: 10s - timeout: 5s - retries: 5 - - worker_1: - image: tcosolutions/betterscan-worker:latest - ulimits: - stack: -1 - restart: always - hostname: worker_1 - depends_on: - rabbitmq3: - condition: service_healthy - postgres: - condition: service_healthy - server: - condition: service_healthy - working_dir: /srv/betterscan/ - entrypoint: sh - command: -c "python /srv/betterscan/manage.py runworker" - volumes: - - data1:/srv/betterscan/quantifiedcode/data/ - - data2:/srv/betterscan/quantifiedcode/backend/data/tasks - - rabbitmq3: - container_name: "rabbitmq" - image: rabbitmq:3.8-management-alpine - environment: - RABBITMQ_DEFAULT_USER: qc - RABBITMQ_DEFAULT_PASS: qc - ports: - - 5672:5672 - - 15672:15672 - healthcheck: - test: ["CMD", "nc", "-z", "localhost", "5672"] - interval: 5s - timeout: 15s - retries: 1 - -volumes: - db-data: - driver: local - data1: - driver: local - data2: - driver: local - setup_state: - driver: local