diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T02:33:07.602858+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T02:33:07.602858+00:00 new file mode 100644 index 0000000..e34818a --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T02:33:07.602858+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T02:33:07.602858+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T03:33:10.218983+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T03:33:10.218983+00:00 new file mode 100644 index 0000000..b0dfe28 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T03:33:10.218983+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T03:33:10.218983+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T04:33:12.768114+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T04:33:12.768114+00:00 new file mode 100644 index 0000000..a2f3d1d --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T04:33:12.768114+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T04:33:12.768114+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T05:33:15.346339+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T05:33:15.346339+00:00 new file mode 100644 index 0000000..ae47c21 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T05:33:15.346339+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T05:33:15.346339+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T06:33:17.935828+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T06:33:17.935828+00:00 new file mode 100644 index 0000000..ea0c9f3 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T06:33:17.935828+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T06:33:17.935828+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T07:33:20.485182+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T07:33:20.485182+00:00 new file mode 100644 index 0000000..aaa8ea4 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T07:33:20.485182+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T07:33:20.485182+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T08:33:23.020942+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T08:33:23.020942+00:00 new file mode 100644 index 0000000..875b455 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T08:33:23.020942+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T08:33:23.020942+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T09:33:25.580082+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T09:33:25.580082+00:00 new file mode 100644 index 0000000..32b30bc --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T09:33:25.580082+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T09:33:25.580082+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T10:33:28.240607+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T10:33:28.240607+00:00 new file mode 100644 index 0000000..0a77fff --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T10:33:28.240607+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T10:33:28.240607+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T11:33:30.810044+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T11:33:30.810044+00:00 new file mode 100644 index 0000000..92cd703 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T11:33:30.810044+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T11:33:30.810044+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T12:33:33.488330+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T12:33:33.488330+00:00 new file mode 100644 index 0000000..c10c3cc --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T12:33:33.488330+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T12:33:33.488330+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T13:33:36.068710+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T13:33:36.068710+00:00 new file mode 100644 index 0000000..1789cbc --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T13:33:36.068710+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T13:33:36.068710+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T14:33:39.033270+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T14:33:39.033270+00:00 new file mode 100644 index 0000000..27a5553 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T14:33:39.033270+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T14:33:39.033270+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T15:33:41.631668+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T15:33:41.631668+00:00 new file mode 100644 index 0000000..cf28a83 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T15:33:41.631668+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T15:33:41.631668+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T16:33:44.617483+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T16:33:44.617483+00:00 new file mode 100644 index 0000000..054a533 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T16:33:44.617483+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T16:33:44.617483+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T17:33:47.238667+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T17:33:47.238667+00:00 new file mode 100644 index 0000000..5964b8e --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T17:33:47.238667+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T17:33:47.238667+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T18:33:49.785742+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T18:33:49.785742+00:00 new file mode 100644 index 0000000..fbf9bd8 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T18:33:49.785742+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T18:33:49.785742+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T19:33:52.431948+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T19:33:52.431948+00:00 new file mode 100644 index 0000000..95049fd --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T19:33:52.431948+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T19:33:52.431948+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T20:33:54.985780+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T20:33:54.985780+00:00 new file mode 100644 index 0000000..4ec3716 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T20:33:54.985780+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T20:33:54.985780+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T21:33:57.596279+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T21:33:57.596279+00:00 new file mode 100644 index 0000000..6b4b679 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T21:33:57.596279+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T21:33:57.596279+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T22:34:00.162967+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T22:34:00.162967+00:00 new file mode 100644 index 0000000..1de2785 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T22:34:00.162967+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T22:34:00.162967+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-24T23:34:02.850351+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T23:34:02.850351+00:00 new file mode 100644 index 0000000..4777f4f --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-24T23:34:02.850351+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-24T23:34:02.850351+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-25T00:34:05.385643+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-25T00:34:05.385643+00:00 new file mode 100644 index 0000000..0e3f2f0 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-25T00:34:05.385643+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-25T00:34:05.385643+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-25T01:34:07.947771+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-25T01:34:07.947771+00:00 new file mode 100644 index 0000000..ba185d9 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-25T01:34:07.947771+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-25T01:34:07.947771+00:00"} \ No newline at end of file diff --git a/nomad_backup/foodplanner-dev.hcl b/nomad_backup/foodplanner-dev.hcl new file mode 100644 index 0000000..f0d2265 --- /dev/null +++ b/nomad_backup/foodplanner-dev.hcl @@ -0,0 +1,59 @@ +variable "container_version" { + default = "dev" +} + +job "foodplanner-dev" { + datacenters = ["dc1"] + + type = "service" + + group "app" { + count = 1 + + network { + port "http" { + to = 8999 + } + } + + service { + name = "foodplanner-dev" + port = "http" + + check { + type = "http" + path = "/" + interval = "10s" + timeout = "2s" + } + } + + + task "app" { + driver = "docker" + + config { + image = "ghcr.io/sstent/foodplanner:${var.container_version}" + ports = ["http"] + } + env { + DATABASE_URL = "postgresql://postgres:postgres@master.postgres.service.dc1.consul/meal_planner_dev" + + } + resources { + cpu = 500 + memory = 1024 + } + + # Restart policy + restart { + attempts = 3 + interval = "10m" + delay = "15s" + mode = "fail" + } + } + + + } +}