I'm using trigger with remix running on port 3000, and trigger server running on 3030.
It seems like trigger running in docker has trouble connecting to localhost:3000
triggerdotdev | {"url":"http://localhost:3030/api/v1/endpoints","timestamp":"2024-03-30T21:53:06.587Z","name":"webapp","message":"action","level":"info"}
triggerdotdev | {"url":"http://localhost:3030/api/v1/endpoints","endpoint":{"url":"http://localhost:3000/api/trigger","id":"cohortable-Zojn"},"timestamp":"2024-03-30T21:53:06.603Z","name":"webapp","message":"Creating endpoint","level":"info"}
triggerdotdev | {"url":"http://host.docker.internal:3000/api/trigger","error":{"cause":{"errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"192.168.65.254","port":3000}},"timestamp":"2024-03-30T21:53:06.613Z","name":"webapp","message":"Error while trying to connect to endpoint","level":"debug"}
triggerdotdev | {"url":"http://localhost:3030/api/v1/endpoints","error":"Could not connect to endpoint http://host.docker.internal:3000/api/trigger","timestamp":"2024-03-30T21:53:06.613Z","name":"webapp","message":"Error creating endpoint","level":"debug"}
Not sure why http://host.docker.internal:3000/api/trigger isn't working.