.pkgr.yml 744 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. notifications: false
  2. targets:
  3. centos-6:
  4. dependencies:
  5. - httpd
  6. - postgresql
  7. - postgresql-server
  8. - postgresql-devel
  9. centos-7:
  10. dependencies:
  11. - httpd
  12. - postgresql
  13. - postgresql-server
  14. - postgresql-devel
  15. debian-8:
  16. dependencies:
  17. - nginx
  18. - postgresql
  19. ubuntu-16.04:
  20. dependencies:
  21. - nginx
  22. - postgresql
  23. before:
  24. - uname -a
  25. - ruby -v
  26. - env
  27. - cp config/database.yml.pkgr config/database.yml
  28. - echo "gem 'mysql2'" >> Gemfile.local
  29. - "cat Gemfile.lock"
  30. - contrib/cleanup.sh
  31. env:
  32. - RAILS_ENV=production
  33. - PORT=3000
  34. - RAILS_SERVE_STATIC_FILES=true
  35. services:
  36. - postgres
  37. after_install:
  38. - "/usr/bin/zammad scale web=1 websocket=1 worker=1"