mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-08-20 15:27:26 +00:00
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:
@@ -18,8 +18,8 @@ jobs:
|
||||
image: arcan1s/ahriman:edge
|
||||
env:
|
||||
AHRIMAN_PORT: 8080
|
||||
AHRIMAN_UNIX_SOCKET: /var/lib/ahriman/ahriman/ahriman-web.sock
|
||||
options: --privileged --entrypoint entrypoint-web
|
||||
AHRIMAN_UNIX_SOCKET: /var/lib/ahriman/ahriman-web.sock
|
||||
options: --privileged --user root --entrypoint entrypoint-web
|
||||
ports:
|
||||
- 8080
|
||||
volumes:
|
||||
@@ -31,8 +31,8 @@ jobs:
|
||||
AHRIMAN_DEBUG: y
|
||||
AHRIMAN_OUTPUT: console
|
||||
AHRIMAN_PORT: 8080
|
||||
AHRIMAN_UNIX_SOCKET: /var/lib/ahriman/ahriman/ahriman-web.sock
|
||||
options: --privileged
|
||||
AHRIMAN_UNIX_SOCKET: /var/lib/ahriman/ahriman-web.sock
|
||||
options: --privileged --user root
|
||||
volumes:
|
||||
- repo:/var/lib/ahriman
|
||||
|
||||
@@ -40,7 +40,9 @@ jobs:
|
||||
- run: pacman -Sy
|
||||
|
||||
- name: Init repository
|
||||
run: entrypoint help
|
||||
run: |
|
||||
chown ahriman:ahriman /var/lib/ahriman
|
||||
sudo -E -u ahriman -- entrypoint help
|
||||
|
||||
- name: Print configuration
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user