calibre-web-companion/deployment/entrypoints/config.json

54 lines
1.2 KiB
JSON
Raw Permalink Normal View History

2021-03-02 03:09:15 +00:00
{
"listeners": {
"*:80": {
"pass": "routes"
}
},
"routes": [
{
2021-03-05 13:32:42 +00:00
"match": {
"uri": [
"/content/*",
"!~\\.db"
]
},
"action": {
"share": "/app/"
}
2021-03-02 03:09:15 +00:00
},
{
2021-03-05 13:32:42 +00:00
"match": {
"uri": "/static/*"
},
"action": {
"share": "/app/CalibreWebCompanion/"
}
2021-03-02 03:09:15 +00:00
},
{
2021-03-05 13:32:42 +00:00
"match": {
"uri": [
"!~\\.db", "*"
]
},
2021-03-02 03:09:15 +00:00
"action": {
"pass": "applications/django"
}
}
],
"applications": {
"django": {
"type": "python 3",
2021-03-05 13:32:42 +00:00
"path": "/app/CalibreWebCompanion/",
2021-03-02 03:09:15 +00:00
"module": "CalibreWebCompanion.wsgi",
"environment": {
"DJANGO_SETTINGS_MODULE": "CalibreWebCompanion.settings",
"DB_ENGINE": "django.db.backends.sqlite3"
2021-03-05 13:32:42 +00:00
},
"processes" : {
"max": 25,
"spare": 1,
"idle_timeout": 20
2021-03-02 03:09:15 +00:00
}
}
}
}