Some checks failed
Build and Deploy / deploy (push) Failing after 10m23s
- Replace /events/v2/* endpoints (404 in sandbox) with /api/v1/webhooks - Add list_webhooks() and register_webhook() methods to TinkClient - Step 6 now shows: webhook flow diagram + curl examples + live API + sample payload - Handle sandbox 404 gracefully (shows example data, no red error) - Remove .env.production from git tracking (credentials via Gitea secrets) - deploy.yml: write .env.production from TINK_CLIENT_ID/SECRET secrets
42 lines
838 B
HCL
42 lines
838 B
HCL
job "moneycapp-tink-demo" {
|
|
datacenters = ["dc1"]
|
|
type = "service"
|
|
|
|
group "demo" {
|
|
count = 1
|
|
|
|
network {
|
|
port "http" { to = 8000 }
|
|
}
|
|
|
|
service {
|
|
name = "moneycapp-tink-demo"
|
|
port = "http"
|
|
tags = ["traefik.enable=true",
|
|
"traefik.http.routers.tink-demo.rule=Host(`tink-demo.i80.dk`)",
|
|
"traefik.http.routers.tink-demo.tls=true",
|
|
"traefik.http.routers.tink-demo.tls.certresolver=le"]
|
|
check {
|
|
type = "http"
|
|
path = "/"
|
|
interval = "30s"
|
|
timeout = "5s"
|
|
}
|
|
}
|
|
|
|
task "app" {
|
|
driver = "docker"
|
|
|
|
config {
|
|
image = "registry.i80.dk/gitea/moneycapp-tink-demo:latest"
|
|
ports = ["http"]
|
|
}
|
|
|
|
resources {
|
|
cpu = 256
|
|
memory = 256
|
|
}
|
|
}
|
|
}
|
|
}
|