0
如何將以下命令放入app.yaml文件中。我想知道我做錯了什麼?如何將uwsgi命令行轉換爲yaml文件?
uwsgi --socket 127.0.0.1:3000 --file /home/james/james-api/runserver.py --callable app --processes 2
這低於YAML文件:
uwsgi:
socket: 127.0.0.1:3000
python-path: /home/james/james-api/
callable: runserver:app
processes: 2
pidfile: /tmp/uwsgi.pid
daemonize: /var/log/uwsgi.log
master: 1
workers: 2
chmod-socket: 666
auto-procname: 1