Skip to content

Fix docker-compose start error#4691

Merged
auvipy merged 1 commit intocelery:masterfrom
CatalystCode:fix-docker-start-error
Apr 30, 2018
Merged

Fix docker-compose start error#4691
auvipy merged 1 commit intocelery:masterfrom
CatalystCode:fix-docker-start-error

Conversation

@c-w
Copy link
Copy Markdown
Contributor

@c-w c-w commented Apr 30, 2018

Description

Running docker-compose on a clean checkout currently fails with a validation error that services.celery.build.args contains null.

Screenshot of docker-compose error due to missing build argument

Referencing the CELERY_USER environment variable defined in .env does not fix this since environment variables are only applied at container run-time, not build-time. To avoid potential confusion due to this, it's easiest to just hard-code the CELERY_USER variable in the docker-compose file.

Running docker-compose on a clean checkout currently fails with a
validation error that `services.celery.build.args` contains null.
Referencing the `CELERY_USER` environment variable defined in `.env`
does not fix this since environment variables are only applied at
container run-time, not build-time. To avoid potential confusion due to
this, it's easiest to just hard-code the `CELERY_USER` variable in the
docker-compose file.
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 30, 2018

Codecov Report

Merging #4691 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #4691   +/-   ##
======================================
  Coverage    82.6%   82.6%           
======================================
  Files         140     140           
  Lines       15868   15868           
  Branches     1983    1983           
======================================
  Hits        13107   13107           
  Misses       2567    2567           
  Partials      194     194

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2cfc87...6aa616c. Read the comment docs.

@auvipy auvipy merged commit c04effc into celery:master Apr 30, 2018
@auvipy auvipy added this to the v4.2 milestone Apr 30, 2018
@c-w c-w deleted the fix-docker-start-error branch April 30, 2018 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants