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.

46 lines
1.1 KiB

  1. ## Based on cyclos/cyclos:4.14
  2. docker-image: docker.0k.io/cyclos:4.14.7
  3. config-resources:
  4. - /usr/local/cyclos/WEB-INF/classes/cyclos.properties
  5. data-resources:
  6. - /var/log/cyclos
  7. provides:
  8. cyclos-server:
  9. default-options:
  10. uses:
  11. postgres-database:
  12. #constraint: required | recommended | optional
  13. #auto: pair | summon | none ## default: pair
  14. constraint: required
  15. auto: summon
  16. solves:
  17. database: "main storage"
  18. default-options:
  19. extensions:
  20. - cube
  21. - earthdistance
  22. - postgis
  23. - unaccent
  24. init-sql: !bash-stdout |
  25. zcat "$BASE_CHARM_PATH/src/init.sql.gz"
  26. log-rotate:
  27. #constraint: required | recommended | optional
  28. #auto: pair | summon | none ## default: pair
  29. constraint: recommended
  30. auto: pair
  31. solves:
  32. unmanaged-logs: "in docker logs"
  33. #default-options:
  34. web-proxy:
  35. #constraint: required | recommended | optional
  36. #auto: pair | summon | none ## default: pair
  37. constraint: recommended
  38. auto: pair
  39. solves:
  40. proxy: "Public access"
  41. default-options:
  42. target: !var-expand ${MASTER_BASE_SERVICE_NAME}:8080