TeamPiped / Piped-Docker

MIT License
46 stars 33 forks source link

Is the install compatible with ipv6 only instances ? #36

Closed tarbib closed 3 months ago

tarbib commented 9 months ago

Hello,

Here is my DNS records : image I've run ./configure-instance.sh I get this error: image

Additional infos from https://ready.chair6.net/ image

I was wondering can Piped with Docker work with ipv6 only servers?

Thanks

tarbib commented 9 months ago

In the logs it seems that letsencrypt servers are not reachable:

caddy | {"level":"error","ts":1704221056.9808023,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"MYDOMAIN.io","issuer":"acme-v02.api.letsencrypt.org-directory","error":"registering account [] with server: provisioning client: performing request: Get \"https://acme-staging-v02.api.letsencrypt.org/directory\": dial tcp 172.65.46.172:443: connect: network is unreachable"}

On the other hand it seems supported: https://letsencrypt.org/docs/ipv6-support/

Bnyro commented 4 months ago

Did you try appending

networks:
  default:
    enable_ipv6: true
    ipam:
      config:
        - subnet: 2001:db8::/112

to the end of docker-compose.yml? Enabling IPv6 is described at the bottom of https://docs.piped.video/docs/self-hosting/ (IPv6 rotator section).