From 34346006ab69262f29985dfd3bba5e289af96e4e Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 22 Nov 2022 21:11:46 +0000 Subject: [PATCH] Remove leftover Docker files in legacy --- legacy/.pre-commit-config.yaml | 17 ------------ legacy/docker/docker-compose.prod.yml | 38 --------------------------- 2 files changed, 55 deletions(-) delete mode 100644 legacy/.pre-commit-config.yaml delete mode 100644 legacy/docker/docker-compose.prod.yml diff --git a/legacy/.pre-commit-config.yaml b/legacy/.pre-commit-config.yaml deleted file mode 100644 index 673c866..0000000 --- a/legacy/.pre-commit-config.yaml +++ /dev/null @@ -1,17 +0,0 @@ -repos: - - repo: https://github.com/psf/black - rev: 22.6.0 - hooks: - - id: black - args: - - --line-length=120 - - repo: https://github.com/PyCQA/isort - rev: 5.10.1 - hooks: - - id: isort - args: ["--profile", "black"] - - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 - hooks: - - id: flake8 - args: [--max-line-length=120] diff --git a/legacy/docker/docker-compose.prod.yml b/legacy/docker/docker-compose.prod.yml deleted file mode 100644 index e8e011d..0000000 --- a/legacy/docker/docker-compose.prod.yml +++ /dev/null @@ -1,38 +0,0 @@ -version: "2" - -services: - app: - image: pathogen/threshold:latest - build: ./docker - volumes: - - ${PORTAINER_GIT_DIR}:/code - - ${THRESHOLD_CONFIG_DIR}:/code/conf/live - #- ${THRESHOLD_TEMPLATE_DIR}:/code/conf/templates - - ${THRESHOLD_CERT_DIR}:/code/conf/cert - ports: - - "${THRESHOLD_LISTENER_PORT}:${THRESHOLD_LISTENER_PORT}" - - "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}" - - "${THRESHOLD_API_PORT}:${THRESHOLD_API_PORT}" - env_file: - - ../stack.env - volumes_from: - - tmp - - tmp: - image: busybox - command: chmod -R 777 /var/run/redis - volumes: - - /var/run/redis - - redis: - image: redis - command: redis-server /etc/redis.conf - volumes: - - ${PORTAINER_GIT_DIR}/docker/redis.conf:/etc/redis.conf - volumes_from: - - tmp - -networks: - default: - external: - name: pathogen \ No newline at end of file