docker-compose.yaml 739 B

123456789101112131415161718192021222324252627282930
  1. services:
  2. registry:
  3. image: distribution/distribution:edge
  4. restart: always
  5. relayd:
  6. image: ghcr.io/xe/x/relayd
  7. pull_policy: always
  8. environment:
  9. CERT_DIR: /etc/techaro/pki/registry.local.cetacean.club
  10. CERT_FNAME: cert.pem
  11. KEY_FNAME: key.pem
  12. PROXY_TO: http://anubis:3000
  13. ports:
  14. - 3004:3004
  15. volumes:
  16. - ./pki/registry.local.cetacean.club:/etc/techaro/pki/registry.local.cetacean.club
  17. anubis:
  18. image: ko.local/anubis
  19. restart: always
  20. environment:
  21. BIND: ":3000"
  22. TARGET: http://registry:5000
  23. POLICY_FNAME: /etc/techaro/anubis.yaml
  24. USE_REMOTE_ADDRESS: "true"
  25. ports:
  26. - 3000
  27. volumes:
  28. - ./anubis.yaml:/etc/techaro/anubis.yaml