.pkgr.yml 732 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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-7:
  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. - zammad scale web=1 websocket=1 worker=1