mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Start creating webapp.sh script template
See https://github.com/ascoderu/opwen-webapp/blob/master/setup/setup-lokole.sh#L384
This commit is contained in:
parent
0f54fb57bd
commit
fabb435019
1 changed files with 6 additions and 6 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/usr/bin/env sh
|
||||
. '{{lokole_run_directory}}/webapp_secrets.sh'
|
||||
. '${opwen_webapp_envs}'
|
||||
|
||||
'{{lokole_venv}}/bin/gunicorn' \
|
||||
--timeout='300' \
|
||||
--workers='{{ [4, ansible_memtotal_mb / 200] | min | int }}' \
|
||||
--bind='unix:{{ lokole_domain_socket }}' \
|
||||
--log-level='error' \
|
||||
'{{lokole_venv}}/bin/gunicorn' \\
|
||||
--timeout='300' \\
|
||||
--workers='${opwen_webapp_workers}' \\
|
||||
--bind='unix:{{lokole_domain_socket}}' \\
|
||||
--log-level='error' \\
|
||||
'opwen_email_client.webapp:app'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue