mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-08-20 23:37:26 +00:00
* use local devtools configs instead of global ones * make docker image rootless * add migration notes * fix setup command * fix regress jo
66 lines
1.1 KiB
YAML
66 lines
1.1 KiB
YAML
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
|
|
|
|
environment:
|
|
AHRIMAN_DEBUG: yes
|
|
AHRIMAN_OUTPUT: console
|
|
AHRIMAN_REPOSITORY: ahriman-demo
|
|
|
|
configs:
|
|
- source: service
|
|
target: /etc/ahriman.ini.d/99-settings.ini
|
|
|
|
volumes:
|
|
- type: volume
|
|
source: repository
|
|
target: /var/lib/ahriman
|
|
|
|
depends_on:
|
|
volume-init:
|
|
condition: service_completed_successfully
|
|
|
|
frontend:
|
|
image: nginx
|
|
ports:
|
|
- 8080:80
|
|
|
|
configs:
|
|
- source: nginx
|
|
target: /etc/nginx/conf.d/default.conf
|
|
|
|
volumes:
|
|
- type: volume
|
|
source: repository
|
|
target: /srv
|
|
read_only: true
|
|
volume:
|
|
nocopy: true
|
|
|
|
configs:
|
|
nginx:
|
|
file: nginx.conf
|
|
service:
|
|
file: service.ini
|
|
|
|
volumes:
|
|
repository:
|