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.

36 lines
1.1 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. uses:
  22. log-rotate:
  23. #constraint: required | recommended | optional
  24. #auto: pair | summon | none ## default: pair
  25. constraint: recommended
  26. auto: pair
  27. solves:
  28. disk-leak: "/var/log/apache2"
  29. cert-provider:
  30. #constraint: required | recommended | optional
  31. #auto: pair | summon | none ## default: pair
  32. constraint: optional
  33. auto: pair
  34. limit: n
  35. solves:
  36. feature: "SSL certificate generation"