Vowel is a Virtual Online Workspace for Education and Learning.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

82 lines
2.0 KiB

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