Use the SHA sum with the TT-RSS images
Since I don't have a specific version number and NixOS doesn't automatically repull the images it's better to include the SHA sum in order to update the images while building the system. In addition it's probably better for backups as well because the version that gets installed matches the DB backups and doesn't pull in an incompatible one by accident.
This commit is contained in:
parent
d02232e721
commit
0746971996
|
@ -37,7 +37,7 @@ in
|
|||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
containers."ttrss" = {
|
||||
image = "ghcr.io/nebucatnetzer/tt-rss-aarch64/ttrss-fpm-pgsql-static";
|
||||
image = "ghcr.io/nebucatnetzer/tt-rss-aarch64/ttrss-fpm-pgsql-static@sha256:1ab138d81f5d719c30d813d10aa30987ac3db3a2d8c5f81ddfbba3a0b0cd9279";
|
||||
autoStart = true;
|
||||
environment = ttrssEnvironment;
|
||||
environmentFiles = [ config.age.secrets.ttrssEnv.path ];
|
||||
|
@ -51,7 +51,7 @@ in
|
|||
extraOptions = [ "--add-host=host.docker.internal:host-gateway" ];
|
||||
};
|
||||
containers."backup" = {
|
||||
image = "ghcr.io/nebucatnetzer/tt-rss-aarch64/ttrss-fpm-pgsql-static";
|
||||
image = "ghcr.io/nebucatnetzer/tt-rss-aarch64/ttrss-fpm-pgsql-static@sha256:1ab138d81f5d719c30d813d10aa30987ac3db3a2d8c5f81ddfbba3a0b0cd9279";
|
||||
autoStart = true;
|
||||
environment = ttrssEnvironment;
|
||||
environmentFiles = [ config.age.secrets.ttrssEnv.path ];
|
||||
|
@ -64,7 +64,7 @@ in
|
|||
extraOptions = [ "--add-host=host.docker.internal:host-gateway" ];
|
||||
};
|
||||
containers."updater" = {
|
||||
image = "ghcr.io/nebucatnetzer/tt-rss-aarch64/ttrss-fpm-pgsql-static";
|
||||
image = "ghcr.io/nebucatnetzer/tt-rss-aarch64/ttrss-fpm-pgsql-static@sha256:1ab138d81f5d719c30d813d10aa30987ac3db3a2d8c5f81ddfbba3a0b0cd9279";
|
||||
autoStart = true;
|
||||
environment = ttrssEnvironment;
|
||||
environmentFiles = [ config.age.secrets.ttrssEnv.path ];
|
||||
|
|
Loading…
Reference in New Issue
Block a user