feat: full rootless setup (#165)

* use local devtools configs instead of global ones

* make docker image rootless

* add migration notes

* fix setup command

* fix regress jo
This commit is contained in:
2026-08-14 13:34:42 +03:00
committed by GitHub
parent 695424fa16
commit 3548b434be
36 changed files with 581 additions and 147 deletions
+22 -3
View File
@@ -1,4 +1,21 @@
services:
volume-init:
image: arcan1s/ahriman:edge
user: root
entrypoint: [
"chown",
]
command: [
"ahriman:ahriman",
"/var/lib/ahriman",
]
volumes:
- type: volume
source: repository
target: /var/lib/ahriman
backend:
image: arcan1s/ahriman:edge
privileged: true
@@ -6,7 +23,7 @@ services:
environment:
AHRIMAN_DEBUG: yes
AHRIMAN_OUTPUT: console
AHRIMAN_POSTSETUP_COMMAND: sudo -u ahriman gpg --import /run/secrets/key
AHRIMAN_POSTSETUP_COMMAND: gpg --import /run/secrets/key
AHRIMAN_REPOSITORY: ahriman-demo
configs:
@@ -19,8 +36,10 @@ services:
- type: volume
source: repository
target: /var/lib/ahriman
volume:
nocopy: true
depends_on:
volume-init:
condition: service_completed_successfully
command: repo-daemon