about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-02-23 14:29:56 +0100
committerRobert Günzler <r@gnzler.io>2026-02-23 14:29:56 +0100
commit2417f5ff024f13c8f08f579872a6b25b3293d980 (patch)
tree618cabeb7a8e97c5c60519ee7c1e4286248fb6c6
parentc0e6dae40275273b7bc77004f5e45a2f904e49ac (diff)
drop timelinize/dawarich
Signed-off-by: Robert Günzler <r@gnzler.io>
-rw-r--r--bundles/timelinize/files/kube.yaml116
-rw-r--r--bundles/timelinize/items.py5
-rw-r--r--bundles/timelinize/metadata.py16
3 files changed, 0 insertions, 137 deletions
diff --git a/bundles/timelinize/files/kube.yaml b/bundles/timelinize/files/kube.yaml
deleted file mode 100644
index cb47ee2..0000000
--- a/bundles/timelinize/files/kube.yaml
+++ /dev/null
@@ -1,116 +0,0 @@
-apiVersion: v1
-kind: ConfigMap
-metadata:
-  name: dawarich
-data:
-  RAILS_ENV: production
-  REDIS_URL: redis://redis:6379
-  DATABASE_HOST: postgis
-  DATABASE_PORT: 5432
-  MIN_MINUTES_SPENT_IN_CITY: 60
-  APPLICATION_HOSTS: dawarich.iz.ts.gzr.im,dawarich.gzr.im
-  TIME_ZONE: Europe/Berlin
-  APPLICATION_PROTOCOL: http
-  PROMETHEUS_EXPORTER_ENABLED: false
-  PROMETHEUS_EXPORTER_HOST: 0.0.0.0
-  PROMETHEUS_EXPORTER_PORT: 9394
-  SECRET_KEY_BASE: 1234567890
-  RAILS_LOG_TO_STDOUT: "true"
-  SELF_HOSTED: "true"
-  STORE_GEODATA: "true"
-  BACKGROUND_PROCESSING_CONCURRENCY: 10
----
-apiVersion: v1
-kind: Pod
-metadata:
-  name: dawarich
-  labels:
-    traefik.enable: true
-    traefik.http.routers.dawarich.tls: false
-    traefik.http.routers.dawarich.tls.certresolver: le
-    traefik.http.routers.dawarich.entrypoints: http,https
-    traefik.http.routers.dawarich.rule: Host(`dawarich.iz.ts.gzr.im`)
-    traefik.http.routers.dawarich.service: dawarich
-    traefik.http.services.dawarich.loadbalancer.server.port: 3000
-spec:
-  restartPolicy: Always
-  dnsPolicy: Default
-  containers:
-    - name: dawarich
-      image: docker.io/freikin/dawarich:0.30.11
-      command: ['web-entrypoint.sh', 'rails', 'server', '-p', '3000', '-b', '::']
-      envFrom:
-        - configMapRef:
-            name: dawarich
-        - secretRef:
-            name: dawarich
-      ports:
-        - containerPort: 3000
-          protocol: TCP
-        # - containerPort: 9394 # prom
-        #   protocol: TCP
-      volumeMounts:
-        - name: public
-          mountPath: /var/app/public
-        - name: import
-          mountPath: /var/app/tmp/imports/watched
-        - name: data
-          mountPath: /var/app/storage
-      livenessProbe:
-        exec:
-          command: ["sh", "-c", "wget -qO - http://127.0.0.1:3000/api/v1/health | grep -q '\"status\"\\s*:\\s*\"ok\"'"]
-      # resources:
-      #   limits:
-      #     cpu: 300m
-      #     memory: 512Mi
-
-    - name: sidekiq
-      image: docker.io/freikin/dawarich:0.30.11
-      command: ['sidekiq-entrypoint.sh', 'sidekiq']
-      envFrom:
-        - configMapRef:
-            name: dawarich
-        - secretRef:
-            name: dawarich
-      livenessProbe:
-        exec:
-          command: ["sh", "-c", "pgrep -f sidekiq"]
-
-    - name: redis
-      image: docker.io/redis:7.4-alpine
-      livenessProbe:
-        exec:
-          command: ["sh", "-c", "redis-cli ping || exit 1"]
-
-    - name: postgis
-      image: postgis/postgis:17-3.5-alpine
-      envFrom:
-        - secretRef:
-            name: dawarich
-      volumeMounts:
-        - name: pg-data
-          mountPath: /var/lib/postgresql/data
-      livenessProbe:
-        exec:
-          command:
-            - /bin/sh
-            - -c
-            - pg_isready -d '${POSTGRES_DB}' -U '${POSTGRES_USER}' || exit 1
-
-  volumes:
-    - name: public
-      hostPath:
-        path: /var/lib/dawarich/public
-        type: DirectoryOrCreate
-    - name: import
-      hostPath:
-        path: /var/lib/dawarich/import
-        type: DirectoryOrCreate
-    - name: data
-      hostPath:
-        path: /var/lib/dawarich/data
-        type: DirectoryOrCreate
-    - name: pg-data
-      hostPath:
-        path: /var/lib/dawarich/db
-        type: DirectoryOrCreate
diff --git a/bundles/timelinize/items.py b/bundles/timelinize/items.py
deleted file mode 100644
index 808a86c..0000000
--- a/bundles/timelinize/items.py
+++ /dev/null
@@ -1,5 +0,0 @@
-files = {
-    "/etc/deployments/timelinize/kube.yaml": {
-        "triggers": {"svc_s6rc:timelinize:restart"},
-    },
-}
diff --git a/bundles/timelinize/metadata.py b/bundles/timelinize/metadata.py
deleted file mode 100644
index 0ab5d77..0000000
--- a/bundles/timelinize/metadata.py
+++ /dev/null
@@ -1,16 +0,0 @@
-defaults = {
-    # "backup": {
-    #     "includes": {
-    #         "/var/lib/immich/app/backups",
-    #         "/var/lib/immich/app/profile",
-    #         "/var/lib/immich/app/upload",
-    #         # "/media/hayasui/media/pictures",
-    #     }
-    # },
-    "containers": {
-        "timelinize": {},
-    },
-    # "metrics": {
-    #     "dawarich": {},
-    # },
-}