Vowel is a Virtual Online Workspace for Education and Learning.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

81 linhas
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