2024-02-17 20:31:09 +00:00
|
|
|
# fly.toml app configuration file generated for zdravko on 2024-02-17T21:20:17+01:00
|
|
|
|
#
|
2024-02-11 09:15:00 +00:00
|
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
2024-02-17 20:31:09 +00:00
|
|
|
#
|
2024-02-11 09:15:00 +00:00
|
|
|
|
|
|
|
app = 'zdravko'
|
|
|
|
primary_region = 'waw'
|
|
|
|
|
|
|
|
[build]
|
2024-02-17 20:31:09 +00:00
|
|
|
image = 'ghcr.io/mentos1386/zdravko:main'
|
2024-02-11 09:15:00 +00:00
|
|
|
|
|
|
|
[env]
|
2024-02-16 12:52:27 +00:00
|
|
|
OAUTH2_ENDPOINT_AUTH_URL = 'https://github.com/login/oauth/authorize'
|
2024-02-17 20:31:09 +00:00
|
|
|
OAUTH2_ENDPOINT_TOKEN_URL = 'https://github.com/login/oauth/access_token'
|
2024-02-16 12:52:27 +00:00
|
|
|
OAUTH2_ENDPOINT_USER_INFO_URL = 'https://api.github.com/user'
|
2024-02-22 16:43:03 +00:00
|
|
|
WORKER_API_URL = 'https://zdravko.mnts.dev'
|
2024-02-17 20:31:09 +00:00
|
|
|
ROOT_URL = 'https://zdravko.mnts.dev'
|
2024-02-16 21:31:00 +00:00
|
|
|
TEMPORAL_SERVER_HOST = 'server.process.zdravko.internal:7233'
|
2024-02-13 20:52:10 +00:00
|
|
|
|
2024-02-29 22:42:56 +00:00
|
|
|
TEMPORAL_DATABASE_PATH = '/data/temporal-7.db'
|
|
|
|
DATABASE_PATH = '/data/zdravko-7.db'
|
2024-02-21 09:41:20 +00:00
|
|
|
|
2024-02-11 09:15:00 +00:00
|
|
|
[processes]
|
2024-02-18 21:41:40 +00:00
|
|
|
server = '--temporal --server'
|
|
|
|
worker = '--worker'
|
2024-02-11 09:15:00 +00:00
|
|
|
|
2024-02-16 14:59:00 +00:00
|
|
|
[[mounts]]
|
2024-02-17 20:31:09 +00:00
|
|
|
source = 'data'
|
|
|
|
destination = '/data'
|
|
|
|
processes = ['server']
|
2024-02-16 14:59:00 +00:00
|
|
|
|
2024-02-11 09:15:00 +00:00
|
|
|
[http_service]
|
|
|
|
internal_port = 8080
|
|
|
|
force_https = true
|
|
|
|
auto_stop_machines = true
|
|
|
|
auto_start_machines = true
|
2024-02-19 09:09:30 +00:00
|
|
|
min_machines_running = 1
|
2024-02-17 20:31:09 +00:00
|
|
|
processes = ['server']
|
|
|
|
|
|
|
|
[[services]]
|
|
|
|
protocol = 'tcp'
|
|
|
|
internal_port = 7233
|
|
|
|
auto_stop_machines = true
|
|
|
|
auto_start_machines = true
|
|
|
|
min_machines_running = 0
|
|
|
|
processes = ['server']
|
2024-02-18 07:51:05 +00:00
|
|
|
[[services.ports]]
|
|
|
|
port = 7233
|
|
|
|
handlers = ['tls']
|
2024-02-11 09:15:00 +00:00
|
|
|
|
2024-02-29 11:15:15 +00:00
|
|
|
[[vm]]
|
|
|
|
cpu_kind = 'shared'
|
|
|
|
cpus = 2
|
|
|
|
memory_mb = 512
|
|
|
|
processes = ['server']
|
|
|
|
|
2024-02-11 09:15:00 +00:00
|
|
|
[[vm]]
|
|
|
|
cpu_kind = 'shared'
|
|
|
|
cpus = 1
|
|
|
|
memory_mb = 256
|
2024-02-29 11:15:15 +00:00
|
|
|
processes = ['worker']
|