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!
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

33 lignes
912B

  1. images:
  2. gitea-latest: .
  3. certbot-latest: ../certbot
  4. volumes:
  5. gitea-data: {}
  6. certbot-webroot: {}
  7. certbot-config-gitea: {}
  8. jails:
  9. gitea:
  10. image: gitea-latest
  11. mounts:
  12. gitea-data: /var/db/gitea
  13. ip4.addr: 127.0.8.1
  14. exec.start: |
  15. chown git:git /var/db/gitea && \
  16. sed -i -e 's/HTTP_ADDR = 127.0.0.1/HTTP_ADDR = 127.0.8.1/g' /usr/local/etc/gitea/conf/app.ini && \
  17. /bin/sh /etc/rc
  18. certbot-gitea:
  19. image: certbot-latest
  20. mounts:
  21. certbot-webroot: /certbot/webroot
  22. certbot-config-gitea: /usr/local/etc/letsencrypt
  23. ip4.addr: 127.0.9.1
  24. exec.start: |
  25. if [ ! -f /usr/local/etc/letsencrypt/cli.ini ]; then
  26. echo 'webroot-path=/certbot/webroot' >>/usr/local/etc/letsencrypt/cli.ini && \
  27. echo 'authenticator=webroot' >>/usr/local/etc/letsencrypt/cli.ini;
  28. fi && \
  29. /bin/sh /etc/rc