2024-02-11 09:15:00 +00:00
|
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
|
|
|
|
|
|
app = 'zdravko'
|
|
|
|
primary_region = 'waw'
|
|
|
|
|
|
|
|
[build]
|
|
|
|
builder = 'paketobuildpacks/builder:base'
|
|
|
|
buildpacks = ['gcr.io/paketo-buildpacks/go']
|
|
|
|
|
|
|
|
[env]
|
|
|
|
PORT = '8080'
|
2024-02-16 13:53:27 +00:00
|
|
|
ROOT_URL = 'https://zdravko.mnts.dev'
|
2024-02-16 14:59:00 +00:00
|
|
|
DATABASE_PATH = '/data/zdravko.db'
|
|
|
|
|
2024-02-16 12:52:27 +00:00
|
|
|
OAUTH2_ENDPOINT_TOKEN_URL = 'https://github.com/login/oauth/access_token'
|
|
|
|
OAUTH2_ENDPOINT_AUTH_URL = 'https://github.com/login/oauth/authorize'
|
|
|
|
OAUTH2_ENDPOINT_USER_INFO_URL = 'https://api.github.com/user'
|
2024-02-11 09:15:00 +00:00
|
|
|
|
2024-02-16 14:59:00 +00:00
|
|
|
TEMPORAL_DATABASE_PATH = '/data/temporal.db'
|
2024-02-13 20:52:10 +00:00
|
|
|
TEMPORAL_UI_HOST = 'temporal.process.zdravko.internal:8223'
|
|
|
|
TEMPORAL_SERVER_HOST = 'temporal.process.zdravko.internal:7233'
|
|
|
|
|
2024-02-11 09:15:00 +00:00
|
|
|
[processes]
|
|
|
|
server = "server"
|
2024-02-13 21:39:34 +00:00
|
|
|
worker = "worker"
|
2024-02-13 20:52:10 +00:00
|
|
|
temporal = "temporal"
|
2024-02-11 09:15:00 +00:00
|
|
|
|
2024-02-16 14:59:00 +00:00
|
|
|
[[mounts]]
|
|
|
|
source = "zdravko_data"
|
|
|
|
destination = "/data"
|
|
|
|
processes = ["server", "temporal"]
|
|
|
|
initial_size = "3GB"
|
|
|
|
|
2024-02-11 09:15:00 +00:00
|
|
|
[http_service]
|
|
|
|
processes = ["server"]
|
|
|
|
internal_port = 8080
|
|
|
|
force_https = true
|
|
|
|
auto_stop_machines = true
|
|
|
|
auto_start_machines = true
|
|
|
|
|
|
|
|
[[vm]]
|
|
|
|
cpu_kind = 'shared'
|
|
|
|
cpus = 1
|
|
|
|
memory_mb = 256
|