diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index cb80fe0..49f99c4 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: dawarich - image: freikin/dawarich:0.25.3 + image: freikin/dawarich:0.26.3 command: ["web-entrypoint.sh"] args: ["bin/rails", "server", "-p", "3000", "-b", "::"] ports: @@ -66,13 +66,17 @@ spec: key: key - name: RAILS_LOG_TO_STDOUT value: "true" + - name: SELF_HOSTED + value: "true" volumeMounts: - mountPath: "/var/app/public" name: dawarich-public - mountPath: "/var/app/tmp/imports/watched" name: dawarich-watched + - mountPath: "/var/app/storage" + name: dawarich-storage - name: sidekiq - image: freikin/dawarich:0.25.3 + image: freikin/dawarich:0.26.3 command: ["sidekiq-entrypoint.sh"] args: ["bundle", "exec", "sidekiq"] env: @@ -117,11 +121,15 @@ spec: key: key - name: RAILS_LOG_TO_STDOUT value: "true" + - name: SELF_HOSTED + value: "true" volumeMounts: - mountPath: "/var/app/public" name: dawarich-public - mountPath: "/var/app/tmp/imports/watched" name: dawarich-watched + - mountPath: "/var/app/storage" + name: dawarich-storage - name: redis image: redis:7.4.2 ports: @@ -133,3 +141,6 @@ spec: - name: dawarich-watched persistentVolumeClaim: claimName: dawarich-watched-pvc + - name: dawarich-storage + persistentVolumeClaim: + claimName: dawarich-storage-pvc diff --git a/manifests/pvc.yaml b/manifests/pvc.yaml index 0a41edc..720b437 100644 --- a/manifests/pvc.yaml +++ b/manifests/pvc.yaml @@ -29,3 +29,19 @@ spec: requests: storage: 1Gi storageClassName: redundant-storage-class +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: dawarich-storage-pvc + namespace: dawarich + labels: + recurring-job.longhorn.io/source: enabled + recurring-job-group.longhorn.io/standard-pvc: enabled +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + storageClassName: redundant-storage-class