mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Fix bindmount on celery beat container causing missing file errors
This commit is contained in:
parent
87ba893a7d
commit
89493f048c
2 changed files with 1 additions and 7 deletions
|
@ -6,7 +6,7 @@ steps:
|
||||||
- branch: master
|
- branch: master
|
||||||
- event: push
|
- event: push
|
||||||
commands:
|
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"
|
- echo "$REGISTRY_PASSWORD" | docker login git.keannu1.duckdns.org --password-stdin -u "$REGISTRY_USERNAME"
|
||||||
- docker push git.keannu1.duckdns.org/keannu125/drf_template
|
- docker push git.keannu1.duckdns.org/keannu125/drf_template
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -21,10 +21,6 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- RUN_TYPE=worker
|
- RUN_TYPE=worker
|
||||||
image: git.keannu1.duckdns.org/keannu125/drf_template:latest
|
image: git.keannu1.duckdns.org/keannu125/drf_template:latest
|
||||||
volumes:
|
|
||||||
- ./chrome:/chrome
|
|
||||||
- ./firefox:/firefox
|
|
||||||
- ./dumps:/dumps
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- django
|
- django
|
||||||
- postgres
|
- postgres
|
||||||
|
@ -38,8 +34,6 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- RUN_TYPE=beat
|
- RUN_TYPE=beat
|
||||||
image: git.keannu1.duckdns.org/keannu125/drf_template:latest
|
image: git.keannu1.duckdns.org/keannu125/drf_template:latest
|
||||||
volumes:
|
|
||||||
- .:/code
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- celery
|
- celery
|
||||||
- django
|
- django
|
||||||
|
|
Loading…
Reference in a new issue