Docker: Remove server command override examples
The YAML configuration files include comments outlining how to override the server image's default command. They are supposed to help with, for example, replacing gunicorn with daphne. These comments have diverged from the actual command used in current images. Furthermore, at least to my knowledge, the setup has not been used or tested with daphne in a long time. For these reasons, this patch removes the comments without a replacement. If there still is, in fact, a use case for the instructions, they would need to be updated and their location should be reconsidered.
This commit is contained in:
parent
e75bdeb0f7
commit
cd98502b1c
@ -111,12 +111,6 @@ services:
|
||||
|
||||
server:
|
||||
<< : *default-osserver
|
||||
# Below is the default command. You can uncomment it to override the
|
||||
# number of workers, for example:
|
||||
# command: "gunicorn -w 8 --preload -b 0.0.0.0:8000 openslides.wsgi"
|
||||
#
|
||||
# Uncomment the following line to use daphne instead of gunicorn:
|
||||
# command: "daphne -b 0.0.0.0 -p 8000 openslides.wsgi"
|
||||
depends_on:
|
||||
- server-setup
|
||||
environment:
|
||||
|
@ -110,13 +110,6 @@ services:
|
||||
|
||||
server:
|
||||
<< : *default-osserver
|
||||
# Below is the default command. You can uncomment it to override the
|
||||
# number of workers, for example:
|
||||
# command: "gunicorn -w 8 --preload -b 0.0.0.0:8000
|
||||
# -k uvicorn.workers.UvicornWorker openslides.asgi:application"
|
||||
#
|
||||
# Uncomment the following line to use daphne instead of gunicorn:
|
||||
# command: "daphne -b 0.0.0.0 -p 8000 openslides.asgi:application"
|
||||
environment:
|
||||
<< : *default-osserver-env
|
||||
secrets:
|
||||
|
Loading…
Reference in New Issue
Block a user