Update to go 1.24 and add some logging.

Signed-off-by: Mariano Uvalle <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-05-10 13:59:51 -07:00
parent 7ddf1162c7
commit c041a5feee
13 changed files with 187 additions and 30 deletions

View file

@ -1,30 +1,30 @@
# fly.toml app configuration file generated for dark-paper-8180 on 2023-11-10T08:23:22Z
# fly.toml app configuration file generated for ccclip on 2025-05-10T00:45:48-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "dark-paper-8180"
primary_region = "sea"
app = 'ccclip'
primary_region = 'sea'
[build]
dockerfile = "./cmd/server/Dockerfile"
dockerfile = './cmd/server/Dockerfile'
[env]
CCCLIP_PORT = "3000"
CCCLIP_DATABASE_LOCATION = "/litefs/ccclip.db"
CCCLIP_DATABASE_LOCATION = '/database/ccclip.db'
[mounts]
source = "litefs"
destination = "/var/lib/litefs"
[[mounts]]
source = 'database'
destination = '/database'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 1
processes = ["app"]
processes = ['app']
[vm]
size = "shared-cpu-1x"
memory = "1gb"
[[vm]]
size = 'shared-cpu-1x'
memory = '512mb'
cpu_kind = 'shared'
cpus = 1