1. Add dockerfile 2. Modify gunicorn config Change-Id: I99d233908b3f21e5e0a4cd739ee7702839a8fb46
15 lines
322 B
Bash
Executable File
15 lines
322 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -ex
|
|
|
|
# kolla_set_configs
|
|
echo "/usr/local/bin/gunicorn -c /etc/skyline/gunicorn.py skyline_apiserver.main:app" >/run_command
|
|
|
|
mapfile -t CMD < <(tail /run_command | xargs -n 1)
|
|
|
|
# kolla_extend_start
|
|
nginx-generator -o /etc/nginx/nginx.conf
|
|
nginx
|
|
|
|
echo "Running command: ${CMD[*]}"
|
|
exec "${CMD[@]}"
|