git - drone - ghost - guacamole - rocket chat https://sigyl.com/
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 

44 lines
987 B

  1. version: "3.7"
  2. services:
  3. letsencrypt-registry:
  4. deploy:
  5. placement:
  6. constraints: [node.labels.com.sigyl.git-stack == yes]
  7. replicas: 1
  8. restart_policy:
  9. condition: any
  10. image: ${LOCAL_DOCKER_REGISTRY}letsencrypt-registry
  11. environment:
  12. - CERTBOT_EMAIL=${CERTBOT_EMAIL}
  13. - SERVER_NAME=${GIT_DOMAIN}
  14. - REGISTRY_PROXY_PASS=http://registry:5000
  15. volumes:
  16. - letsencrypt-registry:/etc/letsencrypt
  17. networks:
  18. - appnet
  19. ports:
  20. - 5004:5004
  21. registry:
  22. # internal registry #1 (why?)
  23. deploy:
  24. placement:
  25. constraints: [node.labels.com.sigyl.git-stack == yes]
  26. replicas: 1
  27. restart_policy:
  28. condition: any
  29. image: registry:2
  30. volumes:
  31. - registry-data:/var/lib/registry
  32. environment:
  33. - REGISTRY_HTTP_ADDR=0.0.0.0:5000
  34. networks:
  35. - appnet
  36. volumes:
  37. registry-data:
  38. letsencrypt-registry:
  39. networks:
  40. appnet:
  41. driver: overlay
  42. #external: true