-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.toml
61 lines (49 loc) · 1.67 KB
/
fly.toml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# fly.toml app configuration file generated for invenio-rdm-starter on 2024-06-18T11:07:04+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'invenio-rdm-starter'
primary_region = 'fra'
[build]
image = "ghcr.io/front-matter/rogue-scholar:latest"
[env]
# Flask-Babel
INVENIO_BABEL_DEFAULT_LOCALE = "en"
INVENIO_BABEL_DEFAULT_TIMEZONE = "UTC"
# Invenio-Records-Resources
INVENIO_SITE_API_URL = "https://rogue-scholar.org/api"
INVENIO_SITE_UI_URL = "https://rogue-scholar.org"
# Invenio-Search
INVENIO_SEARCH_INDEX_PREFIX = "invenio-rdm-"
# Invenio-Theme
INVENIO_THEME_FRONTPAGE_TITLE = "Science blogging on steroids."
INVENIO_THEME_FRONTPAGE_SUBTITLE = "The Rogue Scholar science blog archive improves science blogs in important ways, including full-text search, long-term archiving, DOIs and metadata, and communities."
INVENIO_THEME_LOGO = "images/rogue-scholar-white.svg"
INVENIO_THEME_SHOW_FRONTPAGE_INTRO_SECTION = "False"
INVENIO_THEME_SITENAME = "Rogue Scholar"
[processes]
web = "gunicorn invenio_app.wsgi:application --bind 0.0.0.0:5000 --workers 4"
worker = "celery -A invenio_app.celery worker --beat --events --loglevel=WARNING"
[[services]]
internal_port = 5000
protocol = "tcp"
auto_stop_machines = "off"
auto_start_machines = true
min_machines_running = 1
processes = ['web']
[[services.ports]]
handlers = ["http"]
port = 80
# force_https = true
[[services.ports]]
handlers = ["tls", "http"]
port = 443
# [[services.tcp_checks]]
# grace_period = "1s"
# interval = "15s"
# restart_limit = 0
# timeout = "2s"
[[vm]]
memory = '2gb'
cpu_kind = 'shared'
cpus = 4