#Why doesn't Docker Permify work?

1 messages · Page 1 of 1 (latest)

hybrid peak
#

Hi. If I run docker run --rm --name="permify" -p 3476:3476 -p 3478:3478 ghcr.io/permify/permify serve , my API calls fail with curl: (56) Recv failure: Connection reset by peer. For example, the command: curl --location --request POST 'localhost:3476/v1/tenants/t1/schemas/write' --header 'Content-Type: application/json' --data-raw '{ "schema": "entity user {}"}' fails.

But if I include --network host in my docker run command, API calls succeed. This indicates Permify doesn't bind to the network correctly, perhaps using 127.0.0.1 instead of 0.0.0.0. Is this the case? If so, how do I change it please? I can't see any flag to set the host in docker run --rm --name="permify" -p 3476:3476 -p 3478:3478 ghcr.io/permify/permify serve --help .