Fix bindmount on celery beat container causing missing file errors

This commit is contained in:
Keannu Bernasol 2024-08-30 22:27:33 +08:00
parent 87ba893a7d
commit 89493f048c
2 changed files with 1 additions and 7 deletions

View file

@ -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:

View file

@ -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