mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 15:27:17 +00:00
56 lines
968 B
YAML
56 lines
968 B
YAML
services:
|
|
backend:
|
|
image: arcan1s/ahriman:edge
|
|
privileged: true
|
|
|
|
environment:
|
|
AHRIMAN_DEBUG: yes
|
|
AHRIMAN_OUTPUT: console
|
|
AHRIMAN_PRESETUP_COMMAND: sudo -u ahriman gpg --import /run/secrets/key
|
|
AHRIMAN_REPOSITORY: ahriman-demo
|
|
|
|
configs:
|
|
- source: service
|
|
target: /etc/ahriman.ini.d/99-settings.ini
|
|
secrets:
|
|
- key
|
|
|
|
volumes:
|
|
- type: volume
|
|
source: repository
|
|
target: /var/lib/ahriman
|
|
volume:
|
|
nocopy: true
|
|
|
|
command: repo-daemon
|
|
|
|
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
|
|
|
|
secrets:
|
|
key:
|
|
file: repository-sign.gpg
|
|
|
|
volumes:
|
|
repository:
|