Supabase storage proxying

Hi :wave:

I am not familiar with supabase, but perhaps I can provide some ideas anyway :slight_smile:

  1. Can you reach the caddy container from within traefik? You might have to join both docker-compose stacks into a common network, depending on how you set up traefik.
  2. Did you try to send requests to caddy directly? For example, via curl? Either from your host after exposing port :5555 or directly from within the caddy container (after running apk add curl)?
    curl http://example.com:5555 --resolve example.com:5555:127.0.0.1
    ## or
    curl http://localhost:5555 -H "Host: example.com"
    

PS: You could also just use GitHub - lucaslorentz/caddy-docker-proxy: Caddy as a reverse proxy for Docker instead of traefik :^)

2 Likes