refactor: Set image pull policy to IfNotPresent everywhere

closes #101
This commit is contained in:
Pim Kunis 2024-07-28 14:32:28 +02:00
parent bf1facabd7
commit 9fe5ecbb8d
9 changed files with 20 additions and 20 deletions

View file

@ -29,7 +29,7 @@
containers = { containers = {
atuin = { atuin = {
image = "ghcr.io/atuinsh/atuin:18.3.0"; image = "ghcr.io/atuinsh/atuin:18.3.0";
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
ports.web.containerPort = 8888; ports.web.containerPort = 8888;
args = [ "server" "start" ]; args = [ "server" "start" ];

View file

@ -28,7 +28,7 @@
containers.forgejo = { containers.forgejo = {
image = "codeberg.org/forgejo/forgejo:7.0.5"; image = "codeberg.org/forgejo/forgejo:7.0.5";
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env = { env = {
USER_UID.value = "1000"; USER_UID.value = "1000";

View file

@ -20,7 +20,7 @@
spec = { spec = {
containers.freshrss = { containers.freshrss = {
image = "freshrss/freshrss:1.24.1"; image = "freshrss/freshrss:1.24.1";
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
ports.web.containerPort = 80; ports.web.containerPort = 80;
env = { env = {

View file

@ -29,7 +29,7 @@
containers.immich = { containers.immich = {
image = "ghcr.io/immich-app/immich-server:v1.108.0"; image = "ghcr.io/immich-app/immich-server:v1.108.0";
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
ports.web.containerPort = 3001; ports.web.containerPort = 3001;
env = { env = {
@ -68,7 +68,7 @@
containers.machine-learning = { containers.machine-learning = {
image = "ghcr.io/immich-app/immich-machine-learning:v1.108.0"; image = "ghcr.io/immich-app/immich-machine-learning:v1.108.0";
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
ports.ml.containerPort = 3003; ports.ml.containerPort = 3003;
env.MACHINE_LEARNING_WORKER_TIMEOUT.value = "600"; env.MACHINE_LEARNING_WORKER_TIMEOUT.value = "600";
@ -106,7 +106,7 @@
containers.redis = { containers.redis = {
image = "docker.io/redis:6.2-alpine@sha256:d6c2911ac51b289db208767581a5d154544f2b2fe4914ea5056443f62dc6e900"; image = "docker.io/redis:6.2-alpine@sha256:d6c2911ac51b289db208767581a5d154544f2b2fe4914ea5056443f62dc6e900";
ports.redis.containerPort = 6379; ports.redis.containerPort = 6379;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
}; };
}; };
}; };
@ -138,7 +138,7 @@
containers.postgres = { containers.postgres = {
image = "docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0"; image = "docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0";
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
command = [ "postgres" ]; command = [ "postgres" ];
args = [ "-c" "shared_preload_libraries=vectors.so" "-c" "search_path=\"$$user\", public, vectors" "-c" "logging_collector=on" "-c" "max_wal_size=2GB" "-c" "shared_buffers=512MB" "-c" "wal_compression=on" ]; args = [ "-c" "shared_preload_libraries=vectors.so" "-c" "search_path=\"$$user\", public, vectors" "-c" "logging_collector=on" "-c" "max_wal_size=2GB" "-c" "shared_buffers=512MB" "-c" "wal_compression=on" ];
ports.postgres.containerPort = 5432; ports.postgres.containerPort = 5432;

View file

@ -23,7 +23,7 @@
containers.kitchenowl = { containers.kitchenowl = {
image = "tombursch/kitchenowl:v0.5.1"; image = "tombursch/kitchenowl:v0.5.1";
ports.web.containerPort = 8080; ports.web.containerPort = 8080;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env.JWT_SECRET_KEY.valueFrom.secretKeyRef = { env.JWT_SECRET_KEY.valueFrom.secretKeyRef = {
name = "server"; name = "server";

View file

@ -26,7 +26,7 @@
containers.jellyfin = { containers.jellyfin = {
image = "jellyfin/jellyfin:10.9.7"; image = "jellyfin/jellyfin:10.9.7";
ports.web.containerPort = 8096; ports.web.containerPort = 8096;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env.JELLYFIN_PublishedServerUrl.value = "https://media.kun.is"; env.JELLYFIN_PublishedServerUrl.value = "https://media.kun.is";
@ -96,7 +96,7 @@
spec = { spec = {
containers.deluge = { containers.deluge = {
image = "linuxserver/deluge:2.1.1"; image = "linuxserver/deluge:2.1.1";
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env = { env = {
PUID.value = "1000"; PUID.value = "1000";
@ -157,7 +157,7 @@
containers.jellyseerr = { containers.jellyseerr = {
image = "fallenbagel/jellyseerr:1.9.2"; image = "fallenbagel/jellyseerr:1.9.2";
ports.web.containerPort = 5055; ports.web.containerPort = 5055;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env = { env = {
LOG_LEVEL.value = "debug"; LOG_LEVEL.value = "debug";
@ -203,7 +203,7 @@
containers.radarr = { containers.radarr = {
image = "lscr.io/linuxserver/radarr:5.7.0"; image = "lscr.io/linuxserver/radarr:5.7.0";
ports.web.containerPort = 7878; ports.web.containerPort = 7878;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env = { env = {
PUID.value = "1000"; PUID.value = "1000";
@ -263,7 +263,7 @@
containers.prowlarr = { containers.prowlarr = {
image = "lscr.io/linuxserver/prowlarr:1.20.1"; image = "lscr.io/linuxserver/prowlarr:1.20.1";
ports.web.containerPort = 9696; ports.web.containerPort = 9696;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env = { env = {
PUID.value = "1000"; PUID.value = "1000";
@ -310,7 +310,7 @@
containers.sonarr = { containers.sonarr = {
image = "lscr.io/linuxserver/sonarr:4.0.6"; image = "lscr.io/linuxserver/sonarr:4.0.6";
ports.web.containerPort = 8989; ports.web.containerPort = 8989;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env = { env = {
PUID.value = "1000"; PUID.value = "1000";
@ -368,7 +368,7 @@
containers.bazarr = { containers.bazarr = {
image = "lscr.io/linuxserver/bazarr:1.4.3"; image = "lscr.io/linuxserver/bazarr:1.4.3";
ports.web.containerPort = 6767; ports.web.containerPort = 6767;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env = { env = {
PUID.value = "1000"; PUID.value = "1000";

View file

@ -32,7 +32,7 @@
containers.paperless = { containers.paperless = {
image = "ghcr.io/paperless-ngx/paperless-ngx:2.3"; image = "ghcr.io/paperless-ngx/paperless-ngx:2.3";
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
ports.web.containerPort = 8000; ports.web.containerPort = 8000;
env = { env = {
@ -102,7 +102,7 @@
containers.redis = { containers.redis = {
image = "docker.io/library/redis:7"; image = "docker.io/library/redis:7";
ports.redis.containerPort = 6379; ports.redis.containerPort = 6379;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
volumeMounts = [{ volumeMounts = [{
name = "data"; name = "data";
@ -143,7 +143,7 @@
containers.postgres = { containers.postgres = {
image = "postgres:15"; image = "postgres:15";
ports.postgres.containerPort = 5432; ports.postgres.containerPort = 5432;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env = { env = {
POSTGRES_DB.value = "paperless"; POSTGRES_DB.value = "paperless";

View file

@ -52,7 +52,7 @@
containers.radicale = { containers.radicale = {
image = "tomsquest/docker-radicale:3.2.2.0"; image = "tomsquest/docker-radicale:3.2.2.0";
ports.web.containerPort = 5232; ports.web.containerPort = 5232;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
volumeMounts = [ volumeMounts = [
{ {

View file

@ -23,7 +23,7 @@
containers.syncthing = { containers.syncthing = {
image = "lscr.io/linuxserver/syncthing:1.23.6"; image = "lscr.io/linuxserver/syncthing:1.23.6";
ports.web.containerPort = 8384; ports.web.containerPort = 8384;
imagePullPolicy = "Always"; imagePullPolicy = "IfNotPresent";
env = { env = {
PUID.value = "33"; PUID.value = "33";