From 69bee3570015d5a7a1e281b54e2970dbd64591f5 Mon Sep 17 00:00:00 2001 From: sadnub Date: Fri, 22 Jan 2021 20:03:30 -0500 Subject: [PATCH] remove winupdate container from dev --- .devcontainer/docker-compose.yml | 17 ----------------- .devcontainer/entrypoint.sh | 5 ----- 2 files changed, 22 deletions(-) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index dddb1bde..0e2bbae4 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -173,23 +173,6 @@ services: - postgres-dev - redis-dev - # container for celery winupdate tasks - celerywinupdate-dev: - image: api-dev - build: - context: . - dockerfile: ./api.dockerfile - command: ["tactical-celerywinupdate-dev"] - restart: always - networks: - - dev - volumes: - - tactical-data-dev:/opt/tactical - - ..:/workspace:cached - depends_on: - - postgres-dev - - redis-dev - nginx-dev: # container for tactical reverse proxy image: ${IMAGE_REPO}tactical-nginx:${VERSION} diff --git a/.devcontainer/entrypoint.sh b/.devcontainer/entrypoint.sh index 19180e25..0844180f 100644 --- a/.devcontainer/entrypoint.sh +++ b/.devcontainer/entrypoint.sh @@ -167,8 +167,3 @@ if [ "$1" = 'tactical-celerybeat-dev' ]; then test -f "${WORKSPACE_DIR}/api/tacticalrmm/celerybeat.pid" && rm "${WORKSPACE_DIR}/api/tacticalrmm/celerybeat.pid" env/bin/celery -A tacticalrmm beat -l debug fi - -if [ "$1" = 'tactical-celerywinupdate-dev' ]; then - check_tactical_ready - env/bin/celery -A tacticalrmm worker -Q wupdate -l debug -fi