-
Notifications
You must be signed in to change notification settings - Fork 14
/
render.yaml
43 lines (43 loc) · 1.11 KB
/
render.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
services:
- type: web
name: mangadventure
runtime: python
region: frankfurt
plan: free
autoDeploy: false
buildFilter:
ignoredPaths:
- "docs/**"
- "docker/*"
- "*/tests/*"
buildCommand: scripts/deploy.sh
startCommand: >-
./manage.py migrate -v0 --no-input &&
uwsgi --http-socket :25432 --module MangAdventure.wsgi
--static-map /static=/opt/render/project/src/static
--static-map /media=/opt/render/project/src/media
envVars:
- key: DOMAIN
sync: false
- key: DJANGO_SUPERUSER_USERNAME
value: superuser
- key: DJANGO_SUPERUSER_EMAIL
sync: false
- key: DJANGO_SUPERUSER_PASSWORD
generateValue: true
- key: SECRET_KEY
generateValue: true
- key: MANGADV_DEBUG
value: "true"
- key: LOGO_URL
value: https://github.com/mangadventure.png
- key: CACHE_URL
fromService:
type: redis
name: cache
property: connectionString
- type: redis
name: cache
region: frankfurt
plan: free
ipAllowList: []