fork 0k-charms
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.

42 lines
1.2 KiB

  1. description: "Apache Web Server"
  2. maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
  3. ## XXXvlab: currently only used when building LXC along with hooks/install
  4. ## XXXvlab: docker uses the 'build' directory or the 'image:' option here.
  5. inherit: base-0k
  6. compatiblity: ## 'hooks/install' script was run on a these images without issues
  7. - ubuntu/15.10
  8. docker-compose:
  9. ## XXXvlab: should move to global lxc/docker compatible option
  10. ports:
  11. - "0.0.0.0:80:80"
  12. - "0.0.0.0:443:443"
  13. data-resources:
  14. - /var/www/html
  15. - /var/log/apache2
  16. config-resources:
  17. - /etc/apache2/sites-enabled
  18. provides:
  19. web-proxy:
  20. tech-dep: "reversed"
  21. publish-dir:
  22. uses:
  23. log-rotate:
  24. #constraint: required | recommended | optional
  25. #auto: pair | summon | none ## default: pair
  26. constraint: recommended
  27. auto: pair
  28. solves:
  29. disk-leak: "/var/log/apache2"
  30. cert-provider:
  31. #constraint: required | recommended | optional
  32. #auto: pair | summon | none ## default: pair
  33. constraint: optional
  34. auto: pair
  35. limit: n
  36. solves:
  37. feature: "SSL certificate generation"
  38. backup:
  39. constraint: recommended
  40. auto: pair
  41. solves:
  42. backup: "Automatic regular backup"