-
Notifications
You must be signed in to change notification settings - Fork 166
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
add config templating #111
Conversation
Any update on getting this merged @Tecnativa? |
I don't get why you need all the |
Because of the linked issue while I cannot reproduce it personally there seems to be cases where haproxy doesn't start, guessing docker swarm edge case. |
Yeah, but for this I think there's no need of having 2 files. Just inject the environment variable on the file. Another think I don't like is the extra added package. |
As far as I know haproxy doesn't allow templating in bind, if that was what you were going for. |
OK, what about the extra package? |
The alternative sed solution is posted in the issue but didn't get any feedback on which was preferred. |
Then please proceed with one not adding more load to the container. |
c2fdda5
to
1f7fdb9
Compare
Done. |
1f7fdb9
to
3454c43
Compare
Removed the -f flag so it matches the current entrypoint logic https://github.com/docker-library/haproxy/blob/master/2.2/alpine/docker-entrypoint.sh |
Is the CI fault related? |
It has error'ed for a while, don't think it is related to any of this PR. |
@josep-tecnativa please check how to fix the CI in this project. |
f22ca91
to
efca8bc
Compare
Yeah, I can't find any faults. Should I change the default to be IPv6 enabled? Currently it fallbacks to IPv4 only. |
Given that the CI throws a IPv6 error:
|
Try to see. I think the IPv6 support was merged because a green CI. |
efca8bc
to
108f4ad
Compare
It is failing to install the test
|
108f4ad
to
52bbef6
Compare
I've inverted the setting but it didn't change anything. The PR that I made last time didn't fail as a PR but failed once merged so something must have happened in-between. |
52bbef6
to
b4adb63
Compare
Added back the -f flag since it doesn't work with the old entrypoint style. The image works fine when deployed on my box for what it is worth. |
b4adb63
to
72e5eea
Compare
Made it a bit cleaner by replacing the built-in entrypoint. Still cannot fix the build-test. |
I replaced the existing one since it was cleaner
…On Thu, 1 Feb 2024, 08:49 josep-tecnativa, ***@***.***> wrote:
Made it a bit cleaner by replacing the built-in entrypoint. Still cannot
fix the build-test.
Why did you deleted the entrypoint in Dockerfile?
—
Reply to this email directly, view it on GitHub
<#111 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSIMLQNUNVEZ3HM5RZVWFLYRNCILAVCNFSM6AAAAABATNHPB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQGY4TONZVG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Check this out : #116 . I think that by running |
Will do when I am back at the PC, thanks.
…On Thu, 1 Feb 2024, 10:19 josep-tecnativa, ***@***.***> wrote:
Check this out : #116
<#116> . I think
that by running poetry update, the error is fixed.
—
Reply to this email directly, view it on GitHub
<#111 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSIMLVWQNWQKQI2GIO5ZLTYRNM2RAVCNFSM6AAAAABATNHPB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQHA3DKNJYGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Well, now it's just rebase this branch over current master |
150ba3b
to
75d40ca
Compare
Done. |
The change you made here: |
No, it just replaces the script that was already present in the base image. |
Understood, thank you for the clarification. From my side, it looks good, I'll merge it. |
Thank you @saltydk @pedrobaeza @josep-tecnativa for getting this merged! The problem I was encountering in #109 is solved by this if I set the env var Maybe we could add some info about this to the README? |
Yes, can you please make a PR adding such information? |
Sure: #119 |
Suggestion for resolving #109 whilst keeping IPv6 functionality.