Vowel is a Virtual Online Workspace for Education and Learning.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

81 lignes
2.0 KiB

image:
name: lapwing.org/fedora25/vowel
version: 0.2.0.20170322
srcimage:
name: lapwing.org/fedora25/nginx
version: v20170310
build:
- dnf:
releasever: 25
repo:
"*":
enabled: False
fedora:
enabled: True
updates:
enabled: True
pkglist:
- python3-lxml
- libreoffice-impress
- poppler-glib
- python3-gobject
- copy:
src: ../vowel
dest: /srv/vowel
chmod: 0755
- run:
command: chcon -R -t httpd_sys_content_t /srv/vowel/vowel/static/
- run:
command: adduser -d /srv/vowel -s /bin/nologin -G nginx vowel
fail: False
- run:
command: chown -R vowel:nginx /srv/vowel
- run:
command: pip3 install -r /srv/vowel/requirements.txt
- copy:
src: deployment/sponson/systemd/vowel-rq_scheduler.service
dest: /etc/systemd/system
owner: 0
group: 0
- copy:
src: deployment/sponson/systemd/vowel-rq_all@.service
dest: /etc/systemd/system
owner: 0
group: 0
- copy:
src: deployment/sponson/systemd/vowel-rq_high@.service
dest: /etc/systemd/system
owner: 0
group: 0
- copy:
src: deployment/sponson/systemd/vowel-runtime.service
dest: /etc/systemd/system
owner: 0
group: 0
- copy:
src: deployment/sponson/systemd/vowel-soffice.service
dest: /etc/systemd/system
owner: 0
group: 0
- copy:
src: deployment/tmpfiles.d/vowel-gunicorn.conf
dest: /etc/tmpfiles.d
owner: 0
group: 0
- copy:
src: deployment/sponson/nginx.conf
dest: /etc/nginx/nginx.conf
systemctl:
enable:
- vowel-runtime
- vowel-soffice
- vowel-rq_scheduler
- vowel-rq_high@1
- vowel-rq_all@1
container:
limits:
ram: 768
maintainer:
name: Sam Black
email: samwwwblack@lapwing.org
url: https://samwwwblack.lapwing.org