How use Celery on appengine flexible with a django app

97 views
Skip to first unread message

Julio Brito

unread,
Jul 10, 2018, 1:20:14 PM7/10/18
to Google App Engine
Hi can anybody help me how use Celery on App Engine flexible.

my problem exact is how start Celery
maybe  i need to use Custom and genarate the Dockerfile?

is a django app.

Thanks.

Katayoon (Cloud Platform Support)

unread,
Jul 10, 2018, 6:36:45 PM7/10/18
to Google App Engine

Hi Julio,


Yes, you need to create a custom runtime to include additional components like Celery by creating your base image and using a Dockerfile that configures the runtime environment.


Julio Brito

unread,
Jul 11, 2018, 12:00:01 PM7/11/18
to Google App Engine
Hi Katayoon,

Yes, i Know that i need custom runtime and Dockerfile, but how start Celery process and my django app.

example: 

LABEL python_version=python3.6
RUN virtualenv --no-download /env -p python3.6

# Set virtualenv environment variables. This is equivalent to running
# source /env/bin/activate
ENV VIRTUAL_ENV /env
ENV PATH /env/bin:$PATH
ADD requirements.txt /app/
RUN pip install -r requirements.txt
ADD . /app/
CMD exec gunicorn --timeout 1500 -b :$PORT niproyecciones.wsgi

maybe i need supervisor?

Katayoon (Cloud Platform Support)

unread,
Jul 12, 2018, 1:18:41 PM7/12/18
to Google App Engine

Hi again,


For further technical support, I recommend that you post your full detailed question to Stack Overflow, using the supported Cloud tags, since Google Groups are reserved for general Google Cloud Platform-end product discussions and not for technical questions.


Reply all
Reply to author
Forward
0 new messages