File tree Expand file tree Collapse file tree 3 files changed +8
-24
lines changed
optional-container-engine Expand file tree Collapse file tree 3 files changed +8
-24
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,10 @@ vm: true
2121
2222# [START entrypoint]
2323# Instead of using gunicorn directly, we'll use Honcho. Honcho is a python port
24- # of the Foreman process manager. $PROCESSES is set by app.yaml / worker.yaml
25- # to control which processes Honcho will start .
26- entrypoint : honcho start -f /app/procfile $PROCESSES
24+ # of the Foreman process manager. For the default module, only the
25+ # frontend process is needed .
26+ entrypoint : honcho start -f /app/procfile bookshelf
2727# [END entrypoint]
2828
2929runtime_config :
3030 python_version : 3
31-
32- # [START env_variables]
33- env_variables :
34- # Processes is passed to Honcho via the entrypoint to run a particular set
35- # of processes for this App Engine module. For the default module, only the
36- # frontend process is needed.
37- PROCESSES : bookshelf
38- # [END env_variables]
Original file line number Diff line number Diff line change @@ -21,20 +21,12 @@ module: worker
2121runtime : python
2222vm : true
2323
24- # [START entrypoint]
2524# Instead of using gunicorn directly, we'll use Honcho. Honcho is a python port
26- # of the Foreman process manager. $PROCESSES is set by app.yaml / worker.yaml
27- # to control which processes Honcho will start.
28- entrypoint : honcho start -f /app/procfile $PROCESSES
29- # [END entrypoint]
25+ # of the Foreman process manager. For the worker module, both the queue worker
26+ # and the monitor process are needed.
27+ entrypoint : honcho start -f /app/procfile worker monitor
3028
3129runtime_config :
3230 python_version : 3
31+ # [END worker]
3332
34- # [START env_variables]
35- env_variables :
36- # Processes is passed to Honchovia the entrypoint to run a particular set
37- # of processes for this App Engine module. For the worker module, both the
38- # queue worker and the monitor process are needed.
39- PROCESSES : worker monitor
40- # [END env_variables]
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ RUN pip install -r /app/requirements.txt
3636ADD . /app
3737
3838# Instead of using gunicorn directly, we'll use Honcho. Honcho is a python port
39- # of the Foreman process manager. $PROCESSES is set by app.yaml / worker.yaml
39+ # of the Foreman process manager. $PROCESSES is set in the pod manifest
4040# to control which processes Honcho will start.
4141CMD honcho start -f /app/procfile $PROCESSES
You can’t perform that action at this time.
0 commit comments