Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update start.sh for IPv6 #399

Merged
merged 1 commit into from
Aug 23, 2022
Merged

Update start.sh for IPv6 #399

merged 1 commit into from
Aug 23, 2022

Conversation

jcrapuchettes
Copy link
Contributor

Update start.sh so that the API will run in both an IPv4 and IPv6 environment. Fly.io is an example of an IPv6 env.

Context

I'm attempting to run Lago using Fly.io, but Fly's private networking is IPv6 only. As such, I'm not able to use Lago till rails listens on both IPv4 and IPv6.

Description

Changed the listening address from 0.0.0.0, which is IPv4 only, to ::, which is both IPv4 and IPv6.

Update start.sh so that the API will run in both an IPv4 and IPv6 environment. Fly.io is an example of an IPv6 env.
@jdenquin
Copy link
Contributor

Thanks for this change @jcrapuchettes, I merge it and it will be integrated in our next release!

@jdenquin jdenquin merged commit 30a9c36 into getlago:main Aug 23, 2022
@jcrapuchettes jcrapuchettes deleted the patch-1 branch August 23, 2022 16:29
@alexandregodard
Copy link

Hello,
In my case :: not switching in ipv4, even if the container has only ipv4 informations.
Possible to add an overload env variable to force what we want ?
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants