wemake-services / caddy-gen

Automated Caddy reverse proxy for docker containers
https://hub.docker.com/r/wemakeservices/caddy-gen
MIT License
250 stars 24 forks source link

Support for ARM / M1 platform #62

Closed flemzord closed 2 years ago

flemzord commented 3 years ago

I need to add ENV vars for CI (Docker Hub access)

scottmcpherson commented 2 years ago

@flemzord @ro31337 trying to get this to work on the new 2021 arm64 macbook pro. I cloned this branch locally but I'm getting the following error

dev-legacy-caddy-1            | ERROR: open Procfile: no such file or directory
dev-legacy-caddy-1            | 2021/11/19 12:08:08 Generated '/etc/caddy/Caddyfile' from 3 containers

I've narrowed it down to forego in the Dockerfile

CMD ["/usr/local/bin/forego", "start", "-r"]

any ideas on where forego expects this Procfile to be or maybe some kind of permission issues?

flemzord commented 2 years ago

@scottmcpherson I no longer use this solution. I switched to Traefik locally, and it works perfectly

scottmcpherson commented 2 years ago

ended up using the ninanung/nginx-proxy image, which was almost a drop-in replacement

AdsonCicilioti commented 1 year ago

@scottmcpherson I no longer use this solution. I switched to Traefik locally, and it works perfectly

My server is Ubuntu ARM64. So isn't supported?

lucahttp commented 2 weeks ago

having the same issue [+] Running 0/1 ⠧ caddy-gen Pulling 1.7s no matching manifest for linux/arm64/v8 in the manifest list entries