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
21
21
22
22
# [START entrypoint]
23
23
# 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
27
27
# [END entrypoint]
28
28
29
29
runtime_config :
30
30
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
21
21
runtime : python
22
22
vm : true
23
23
24
- # [START entrypoint]
25
24
# 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
30
28
31
29
runtime_config :
32
30
python_version : 3
31
+ # [END worker]
33
32
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
36
36
ADD . /app
37
37
38
38
# 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
40
40
# to control which processes Honcho will start.
41
41
CMD honcho start -f /app/procfile $PROCESSES
You can’t perform that action at this time.
0 commit comments