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!
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.

focker-compose.yml 912B

1234567891011121314151617181920212223242526272829303132
  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