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.

focker-compose.yml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. meta:
  11. domains:
  12. - 1101.ch
  13. - www.1101.ch
  14. image: gitea-latest
  15. mounts:
  16. gitea-data: /var/db/gitea
  17. ip4.addr: 127.0.8.1
  18. exec.start: |
  19. chown git:git /var/db/gitea && \
  20. sed -i -e 's/127.0.0.1/127.0.8.1/g' /usr/local/etc/gitea/conf/app.ini && \
  21. sed -i -e 's/ChangeMeBeforeRunning/J#NNOWn377ijsmfjmw54594702239ydhofh494j/g' /usr/local/etc/gitea/conf/app.ini && \
  22. if [ ! -f /var/db/gitea/gitea.db ]; then \
  23. su git -c 'gitea migrate -c /usr/local/etc/gitea/conf/app.ini' && \
  24. su git -c 'gitea admin -c /usr/local/etc/gitea/conf/app.ini create-user --username admin1 --password "AdminAdmin1+" --email "invaliduser@nonexistentdomain.com"'; \
  25. fi && \
  26. /bin/sh /etc/rc
  27. certbot-gitea:
  28. image: certbot-latest
  29. mounts:
  30. certbot-webroot: /certbot/webroot
  31. certbot-config-gitea: /usr/local/etc/letsencrypt
  32. ip4.addr: 127.0.9.1
  33. exec.start: |
  34. if [ ! -f /usr/local/etc/letsencrypt/cli.ini ]; then
  35. echo 'webroot-path=/certbot/webroot' >>/usr/local/etc/letsencrypt/cli.ini && \
  36. echo 'authenticator=webroot' >>/usr/local/etc/letsencrypt/cli.ini;
  37. fi && \
  38. /bin/sh /etc/rc