You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.0 KiB
83 lines
2.0 KiB
image: |
|
name: lapwing.org/fedora27/vowel |
|
version: 0.3.0.20171130 |
|
srcimage: |
|
name: lapwing.org/fedora27/flask |
|
version: v20171130 |
|
dnf: |
|
releasever: 27 |
|
repo: |
|
"*": |
|
enabled: False |
|
fedora: |
|
enabled: True |
|
updates: |
|
enabled: True |
|
build: |
|
- dnf: |
|
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 |
|
|
|
|