mirror of https://github.com/snachodog/mybuddy.git
Specify Python version in render config
This commit is contained in:
parent
1968bec727
commit
3d0b459849
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -o errexit
|
set -o errexit
|
||||||
|
|
||||||
python3 -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip3 install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
python3 manage.py migrate
|
python manage.py migrate
|
||||||
|
|
|
@ -10,12 +10,14 @@ services:
|
||||||
buildCommand: "./.render.com/build.sh"
|
buildCommand: "./.render.com/build.sh"
|
||||||
startCommand: "gunicorn babybuddy.wsgi:application"
|
startCommand: "gunicorn babybuddy.wsgi:application"
|
||||||
envVars:
|
envVars:
|
||||||
- key: DJANGO_SETTINGS_MODULE
|
|
||||||
value: babybuddy.settings.render
|
|
||||||
- key: DATABASE_URL
|
- key: DATABASE_URL
|
||||||
fromDatabase:
|
fromDatabase:
|
||||||
name: babybuddy
|
name: babybuddy
|
||||||
property: connectionString
|
property: connectionString
|
||||||
|
- key: DJANGO_SETTINGS_MODULE
|
||||||
|
value: babybuddy.settings.render
|
||||||
|
- key: PYTHON_VERSION
|
||||||
|
value: 3.10.4
|
||||||
- key: SECRET_KEY
|
- key: SECRET_KEY
|
||||||
generateValue: true
|
generateValue: true
|
||||||
- key: WEB_CONCURRENCY
|
- key: WEB_CONCURRENCY
|
||||||
|
|
Loading…
Reference in New Issue