-
Notifications
You must be signed in to change notification settings - Fork 20
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
Added initial docker/kubernetes/helm support #121
base: master
Are you sure you want to change the base?
Added initial docker/kubernetes/helm support #121
Conversation
Hi Instead of changing so many OTS files. You can fix most of the problems with a init script. I'm not fully in the k8s world yet, but you will likely run into file permissions when running as non-root or not setting UID/GIU on the container user, I tried with my setup initially. When the "local" folder and app user don't have the same UID/GIU many reported problems with permissions. https://github.com/milsimdk/ots-docker/blob/main/compose.override.yaml-example |
Looks like I picked a hell of a day to quit sniffing glue. Great work
everyone
…On Mon, Feb 24, 2025, 9:25 AM nerdalertdk ***@***.***> wrote:
Hi
Instead of changing so many of the OTS files. You can fix most of the
problems with a init script.
You are welcome to see how I got ENV support for my docker image here
https://github.com/milsimdk/ots-docker-image/blob/main/entrypoint.d/__init__.py
—
Reply to this email directly, view it on GitHub
<#121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3F7PTWYLDO23R2YCWKLBD2RNIXDAVCNFSM6AAAAABXYQGE6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZZGE3DIOBQHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
[image: nerdalertdk]*nerdalertdk* left a comment
(brian7704/OpenTAKServer#121)
<#121 (comment)>
Hi
Instead of changing so many of the OTS files. You can fix most of the
problems with a init script.
You are welcome to see how I got ENV support for my docker image here
https://github.com/milsimdk/ots-docker-image/blob/main/entrypoint.d/__init__.py
—
Reply to this email directly, view it on GitHub
<#121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3F7PTWYLDO23R2YCWKLBD2RNIXDAVCNFSM6AAAAABXYQGE6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZZGE3DIOBQHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thanks for the very good input. I like the solution with the init file, I'll adopt it. |
Did suspect kubernetes did something smart with permissions, so that's great. You are more then welcome to just use my image, have one for both OTS and OTS-UI |
Initial docker support with helm chart. I also refactored rabbitmq to use authentication.
Please let me know your feedback.