zdravko/deploy/fly.toml

38 lines
1,001 B
TOML

# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
app = 'zdravko'
primary_region = 'waw'
[build]
dockerfile = "Dockerfile"
[env]
ROOT_URL = 'https://zdravko.mnts.dev'
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'
TEMPORAL_UI_HOST = 'server.process.zdravko.internal:8223'
TEMPORAL_SERVER_HOST = 'server.process.zdravko.internal:7233'
[processes]
server = "zdravko --temporal=true --server=true --worker=false"
worker = "zdravko --temporal=false --server=false --worker=true"
[[mounts]]
source = "zdravko_data"
destination = "/var/lib/litefs"
processes = ["server"]
[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