Vowel is a Virtual Online Workspace for Education and Learning.
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.
 
 
 
 

84 lines
2.0 KiB

  1. image:
  2. name: lapwing.org/fedora27/vowel
  3. version: 0.3.0.20171130
  4. srcimage:
  5. name: lapwing.org/fedora27/flask
  6. version: v20171130
  7. dnf:
  8. releasever: 27
  9. repo:
  10. "*":
  11. enabled: False
  12. fedora:
  13. enabled: True
  14. updates:
  15. enabled: True
  16. build:
  17. - dnf:
  18. pkglist:
  19. - python3-lxml
  20. - libreoffice-impress
  21. - poppler-glib
  22. - python3-gobject
  23. - copy:
  24. src: ../vowel
  25. dest: /srv/vowel
  26. chmod: 0755
  27. - run:
  28. command: chcon -R -t httpd_sys_content_t /srv/vowel/vowel/static/
  29. - run:
  30. command: adduser -d /srv/vowel -s /bin/nologin -G nginx vowel
  31. fail: False
  32. - run:
  33. command: chown -R vowel:nginx /srv/vowel
  34. - run:
  35. command: pip3 install -r /srv/vowel/requirements.txt
  36. - copy:
  37. src: deployment/sponson/systemd/vowel-rq_scheduler.service
  38. dest: /etc/systemd/system
  39. owner: 0
  40. group: 0
  41. - copy:
  42. src: deployment/sponson/systemd/vowel-rq_all@.service
  43. dest: /etc/systemd/system
  44. owner: 0
  45. group: 0
  46. - copy:
  47. src: deployment/sponson/systemd/vowel-rq_high@.service
  48. dest: /etc/systemd/system
  49. owner: 0
  50. group: 0
  51. - copy:
  52. src: deployment/sponson/systemd/vowel-runtime.service
  53. dest: /etc/systemd/system
  54. owner: 0
  55. group: 0
  56. - copy:
  57. src: deployment/sponson/systemd/vowel-soffice.service
  58. dest: /etc/systemd/system
  59. owner: 0
  60. group: 0
  61. - copy:
  62. src: deployment/tmpfiles.d/vowel-gunicorn.conf
  63. dest: /etc/tmpfiles.d
  64. owner: 0
  65. group: 0
  66. - copy:
  67. src: deployment/sponson/nginx.conf
  68. dest: /etc/nginx/nginx.conf
  69. systemctl:
  70. enable:
  71. - vowel-runtime
  72. - vowel-soffice
  73. - vowel-rq_scheduler
  74. - vowel-rq_high@1
  75. - vowel-rq_all@1
  76. container:
  77. limits:
  78. ram: 768
  79. maintainer:
  80. name: Sam Black
  81. email: samwwwblack@lapwing.org
  82. url: https://samwwwblack.lapwing.org