mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-22 07:43:33 +00:00
chore: try out volumes
This commit is contained in:
parent
5dfc7f0227
commit
97b2d86cbf
2 changed files with 10 additions and 2 deletions
10
fly.toml
10
fly.toml
|
@ -10,11 +10,13 @@ primary_region = 'waw'
|
|||
[env]
|
||||
PORT = '8080'
|
||||
ROOT_URL = 'https://zdravko.mnts.dev'
|
||||
# Other are defined in secrets
|
||||
DATABASE_PATH = '/data/zdravko.db'
|
||||
|
||||
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_DATABASE_PATH = '/data/temporal.db'
|
||||
TEMPORAL_UI_HOST = 'temporal.process.zdravko.internal:8223'
|
||||
TEMPORAL_SERVER_HOST = 'temporal.process.zdravko.internal:7233'
|
||||
|
||||
|
@ -23,6 +25,12 @@ primary_region = 'waw'
|
|||
worker = "worker"
|
||||
temporal = "temporal"
|
||||
|
||||
[[mounts]]
|
||||
source = "zdravko_data"
|
||||
destination = "/data"
|
||||
processes = ["server", "temporal"]
|
||||
initial_size = "3GB"
|
||||
|
||||
[http_service]
|
||||
processes = ["server"]
|
||||
internal_port = 8080
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</h1>
|
||||
{{ .Healthcheck.ID }}
|
||||
{{ .Healthcheck.Slug }}
|
||||
{{ .Healthcheck.URL }}
|
||||
{{ .Healthcheck.Url }}
|
||||
{{ .Healthcheck.Schedule }}
|
||||
</section>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in a new issue