[gitea] anubis v1.17.1
change
commit 4dd271945d09af7dd0cd82fa03cea25e88088cbc
author Alpha Chen <alpha@kejadlen.dev>
date
parent 05e51051
diff --git a/lotus-land-story/gitea.yml b/lotus-land-story/gitea.yml
index 8218f81..d51f4a1 100644
--- a/lotus-land-story/gitea.yml
+++ b/lotus-land-story/gitea.yml
@@ -6,8 +6,7 @@
     - vars.yml
   vars:
     version: 1.23.7
-    anubis:
-      version: v1.15.2
+    anubis_version: v1.17.1
   tasks:
 
     - name: Create git user
@@ -47,9 +46,10 @@
         group: "{{ git_user.group }}"
 
     - name: Run Anubis
+      tags: anubis
       community.docker.docker_container:
         name: anubis
-        image: ghcr.io/techarohq/anubis:{{ anubis.version }}
+        image: ghcr.io/techarohq/anubis:{{ anubis_version }}
         restart: true
         env:
           COOKIE_DOMAIN: kejadlen.dev
diff --git a/lotus-land-story/templates/prometheus.yml b/lotus-land-story/templates/prometheus.yml
index 676ab88..41d61ee 100644
--- a/lotus-land-story/templates/prometheus.yml
+++ b/lotus-land-story/templates/prometheus.yml
@@ -83,3 +83,7 @@ scrape_configs:
   - job_name: victoria-logs
     static_configs:
       - targets: ['victoria-logs:9428']
+
+  - job_name: anubis
+    static_configs:
+      - targets: ['anubis:9090']