|
@@ -6,7 +6,7 @@ services:
|
|
context: ..
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
dockerfile: docker/Dockerfile
|
|
args:
|
|
args:
|
|
- CELERY_USER:
|
|
|
|
|
|
+ CELERY_USER: developer
|
|
environment:
|
|
environment:
|
|
TEST_BROKER: pyamqp://rabbit:5672
|
|
TEST_BROKER: pyamqp://rabbit:5672
|
|
TEST_BACKEND: redis://redis
|
|
TEST_BACKEND: redis://redis
|
|
@@ -16,7 +16,7 @@ services:
|
|
WORKER_LOGLEVEL: DEBUG
|
|
WORKER_LOGLEVEL: DEBUG
|
|
tty: true
|
|
tty: true
|
|
volumes:
|
|
volumes:
|
|
- - ../celery:/home/$CELERY_USER/celery
|
|
|
|
|
|
+ - ../celery:/home/developer/celery
|
|
# Because pytest fails when it encounters files from alternative python compilations,
|
|
# Because pytest fails when it encounters files from alternative python compilations,
|
|
# __pycache__ and pyc files, PYTHONDONTWRITEBYTECODE must be
|
|
# __pycache__ and pyc files, PYTHONDONTWRITEBYTECODE must be
|
|
# set on the host as well or py.test will throw configuration errors.
|
|
# set on the host as well or py.test will throw configuration errors.
|