IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

58 linhas
1.2KB

  1. exec.prebuild:
  2. - python3 getmetadata.py
  3. volumes:
  4. certbot-data:
  5. chown: 65534:65534
  6. chmod: 0750
  7. zfs:
  8. quota: 1G
  9. certbot-webroot:
  10. chown: 65534:65534
  11. chmod: 0750
  12. zfs:
  13. quota: 1G
  14. images:
  15. nginx-http: ./nginx-http
  16. nginx-https: ./nginx-https
  17. certbot: ./certbot
  18. jails:
  19. nginx-http:
  20. image: nginx-http
  21. mounts:
  22. certbot-webroot: /certbot/webroot
  23. ip4.addr: 127.0.12.1
  24. certbot:
  25. image: certbot
  26. depend: nginx-http
  27. mounts:
  28. certbot-data: /usr/local/etc/letsencrypt
  29. certbot-webroot: /certbot/webroot
  30. exec.start: |
  31. if [ ! -f /certbot/data/.ready ]; then
  32. rm -vf /usr/local/etc/letsencrypt/.ready && \
  33. /usr/local/bin/python3 /certbot/scripts/certbot.py && \
  34. touch /usr/local/etc/letsencrypt/.ready && \
  35. touch /certbot/data/.ready;
  36. fi && \
  37. /bin/sh /etc/rc
  38. ip4.addr: 127.0.13.1
  39. nginx-https:
  40. image: nginx-https
  41. depend:
  42. - certbot
  43. - nginx-http
  44. mounts:
  45. certbot-data: /usr/local/etc/letsencrypt
  46. exec.start: |
  47. ( until [ -f /usr/local/etc/letsencrypt/.ready ]; do sleep 1; done && \
  48. /bin/sh /etc/rc) &
  49. ip4.addr: 127.0.14.1