From 89493f048c48bd5c4206f7c695d11326c85276d0 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 30 Aug 2024 22:27:33 +0800 Subject: [PATCH] Fix bindmount on celery beat container causing missing file errors --- .woodpecker.yml | 2 +- docker-compose.demo.yml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 13dbd45..6dd962e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,7 +6,7 @@ steps: - branch: master - event: push commands: - - docker build . -t git.keannu1.duckdns.org/keannu125/drf_template + - docker build --no-cache -t git.keannu1.duckdns.org/keannu125/drf_template . - echo "$REGISTRY_PASSWORD" | docker login git.keannu1.duckdns.org --password-stdin -u "$REGISTRY_USERNAME" - docker push git.keannu1.duckdns.org/keannu125/drf_template volumes: diff --git a/docker-compose.demo.yml b/docker-compose.demo.yml index 06dfa37..fd3c014 100644 --- a/docker-compose.demo.yml +++ b/docker-compose.demo.yml @@ -21,10 +21,6 @@ services: environment: - RUN_TYPE=worker image: git.keannu1.duckdns.org/keannu125/drf_template:latest - volumes: - - ./chrome:/chrome - - ./firefox:/firefox - - ./dumps:/dumps depends_on: - django - postgres @@ -38,8 +34,6 @@ services: environment: - RUN_TYPE=beat image: git.keannu1.duckdns.org/keannu125/drf_template:latest - volumes: - - .:/code depends_on: - celery - django