mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-23 18:59:56 +00:00
chore: add configuration recipes
This commit is contained in:
70
recipes/i686/compose.yml
Normal file
70
recipes/i686/compose.yml
Normal file
@ -0,0 +1,70 @@
|
||||
services:
|
||||
backend:
|
||||
image: ahriman-i686
|
||||
build: .
|
||||
privileged: true
|
||||
|
||||
environment:
|
||||
AHRIMAN_ARCHITECTURE: i686
|
||||
AHRIMAN_DEBUG: yes
|
||||
AHRIMAN_MULTILIB:
|
||||
AHRIMAN_OUTPUT: console
|
||||
AHRIMAN_PACMAN_MIRROR: https://de.mirror.archlinux32.org/$$arch/$$repo
|
||||
AHRIMAN_PASSWORD: ${AHRIMAN_PASSWORD}
|
||||
AHRIMAN_PORT: 8080
|
||||
AHRIMAN_PRESETUP_COMMAND: (cat /run/secrets/password; echo; cat /run/secrets/password) | sudo -u ahriman ahriman user-add demo -R full
|
||||
AHRIMAN_REPOSITORY: ahriman-demo
|
||||
AHRIMAN_UNIX_SOCKET: /var/lib/ahriman/ahriman/ahriman.sock
|
||||
|
||||
configs:
|
||||
- source: makepkg
|
||||
target: /usr/share/devtools/makepkg.conf.d/i686.conf
|
||||
- source: pacman
|
||||
target: /usr/share/devtools/pacman.conf.d/extra-i686.conf
|
||||
- source: service
|
||||
target: /etc/ahriman.ini.d/99-settings.ini
|
||||
secrets:
|
||||
- password
|
||||
|
||||
volumes:
|
||||
- type: volume
|
||||
source: repository
|
||||
target: /var/lib/ahriman
|
||||
volume:
|
||||
nocopy: true
|
||||
|
||||
command: web
|
||||
|
||||
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:
|
||||
makepkg:
|
||||
file: makepkg.conf
|
||||
nginx:
|
||||
file: nginx.conf
|
||||
pacman:
|
||||
file: pacman.conf
|
||||
service:
|
||||
file: service.ini
|
||||
|
||||
secrets:
|
||||
password:
|
||||
environment: AHRIMAN_PASSWORD
|
||||
|
||||
volumes:
|
||||
repository:
|
Reference in New Issue
Block a user