Compare commits

...

4 commits

Author SHA1 Message Date
3afe8e0baf
Merge branch 'main' of ssh://git.ghoscht.com:2222/ghoscht/nix-config 2024-09-14 16:48:13 +02:00
39b8fd69d7
Arion: Bump infrastructure & add diun rules
crowdsec: v1.6.2->v1.6.3
2024-09-14 16:48:00 +02:00
df43ff334c
Arion: Bump media
autobrr: v1.45.0 -> v1.46.0
2024-09-14 16:46:53 +02:00
2146363559
Arion: Bump git
forgejo: 8.0.0 -> 8.0.3
2024-09-08 12:51:33 +02:00
3 changed files with 14 additions and 3 deletions

View file

@ -10,7 +10,7 @@
services = { services = {
forgejo.service = { forgejo.service = {
image = "codeberg.org/forgejo/forgejo:8.0.0"; image = "codeberg.org/forgejo/forgejo:8.0.3";
container_name = "forgejo"; container_name = "forgejo";
useHostStore = true; useHostStore = true;
labels = { labels = {

View file

@ -35,6 +35,11 @@
"traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme" = "https"; "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme" = "https";
"traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto" = "https"; "traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto" = "https";
"diun.enable" = "true";
"diun.watch_repo" = "true";
"diun.sort_tags" = "semver";
"diun.include_tags" = "^v\\d+\\.\\d+\\.\\d+$$";
}; };
volumes = [ volumes = [
"/home/ghoscht/.docker/infrastructure/traefik_config/traefik.yml:/traefik.yml:ro" "/home/ghoscht/.docker/infrastructure/traefik_config/traefik.yml:/traefik.yml:ro"
@ -52,7 +57,7 @@
]; ];
}; };
crowdsec.service = { crowdsec.service = {
image = "crowdsecurity/crowdsec:v1.6.2"; image = "crowdsecurity/crowdsec:v1.6.3";
container_name = "crowdsec"; container_name = "crowdsec";
environment = { environment = {
GID = "1000"; GID = "1000";
@ -67,6 +72,12 @@
"traefik-logs:/var/log/traefik/:ro" "traefik-logs:/var/log/traefik/:ro"
"/var/run/docker.sock:/var/run/docker.sock:ro" "/var/run/docker.sock:/var/run/docker.sock:ro"
]; ];
labels = {
"diun.enable" = "true";
"diun.watch_repo" = "true";
"diun.sort_tags" = "semver";
"diun.include_tags" = "^v\\d+\\.\\d+\\.\\d+$$";
};
depends_on = [ depends_on = [
"traefik" "traefik"
]; ];

View file

@ -330,7 +330,7 @@
restart = "always"; restart = "always";
}; };
autobrr.service = { autobrr.service = {
image = "ghcr.io/autobrr/autobrr:v1.45.0"; image = "ghcr.io/autobrr/autobrr:v1.46.0";
container_name = "autobrr"; container_name = "autobrr";
labels = { labels = {
"traefik.enable" = "true"; "traefik.enable" = "true";