chore: try out volumes

This commit is contained in:
Tine 2024-02-16 15:59:00 +01:00
parent 5dfc7f0227
commit 97b2d86cbf
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
2 changed files with 10 additions and 2 deletions

View file

@ -10,11 +10,13 @@ primary_region = 'waw'
[env] [env]
PORT = '8080' PORT = '8080'
ROOT_URL = 'https://zdravko.mnts.dev' 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_TOKEN_URL = 'https://github.com/login/oauth/access_token'
OAUTH2_ENDPOINT_AUTH_URL = 'https://github.com/login/oauth/authorize' OAUTH2_ENDPOINT_AUTH_URL = 'https://github.com/login/oauth/authorize'
OAUTH2_ENDPOINT_USER_INFO_URL = 'https://api.github.com/user' 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_UI_HOST = 'temporal.process.zdravko.internal:8223'
TEMPORAL_SERVER_HOST = 'temporal.process.zdravko.internal:7233' TEMPORAL_SERVER_HOST = 'temporal.process.zdravko.internal:7233'
@ -23,6 +25,12 @@ primary_region = 'waw'
worker = "worker" worker = "worker"
temporal = "temporal" temporal = "temporal"
[[mounts]]
source = "zdravko_data"
destination = "/data"
processes = ["server", "temporal"]
initial_size = "3GB"
[http_service] [http_service]
processes = ["server"] processes = ["server"]
internal_port = 8080 internal_port = 8080

View file

@ -5,7 +5,7 @@
</h1> </h1>
{{ .Healthcheck.ID }} {{ .Healthcheck.ID }}
{{ .Healthcheck.Slug }} {{ .Healthcheck.Slug }}
{{ .Healthcheck.URL }} {{ .Healthcheck.Url }}
{{ .Healthcheck.Schedule }} {{ .Healthcheck.Schedule }}
</section> </section>
{{end}} {{end}}