<@U01NL7HM0SV> <@U02BS9YFFL7> I'm hitting a little...
# docker
c
@Peer @zomars I'm hitting a little snag, hopefully it's simple to clear up for me. Is there a server-side fetch happening for auth? I'm setting my webapp_url to http://docker.localhost:3000 My browser can access that URL, but the service itself will not be able to resolve that network address. If I just use http://localhost:3000, it works fine, as my machine's localhost:3000 and the container's localhost:3000 both resolve to the same socket/server. I'm getting this error: calcom-docker-calcom-1 | @calcom/webstart stack: 'FetchError: request to http://docker.localhost:3000/api/auth/session failed, reason: getaddrinfo ENOTFOUND docker.localhost\n' which looks like a server-side request I could likely change NEXTAUTH_URL, but it looks like it's forced to match WEBAPP_URL here: (and I'm not yet certain which other issues having those be different might cause) https://github.com/calcom/cal.com/blob/ce41397517f04674f83fde43739be91a61b5df40/apps/web/next.config.js#L29-L31
z
Hey @Colin - Krumware we we're out office and we're just catching up. Give me a sec.
Maybe we can add some logic there to override only if NEXTAUTH_URL isn't set
c
That makes sense. If someone else can't knock it out then I'll take a stab at that this weekend