How to start flipt inside a Docker container #4955
Replies: 1 comment 12 replies
-
|
Hi @AvanishCodes! I'm Dosu and I’m helping the flipt team. Here’s how to get SSH-based Git storage working with Flipt in Docker:
There’s a documentation gap here—these details about SSH key usage, Docker paths, and the password field aren’t clearly covered. A PR adding a section on SSH Git credentials in Docker, with examples for both To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My flipt config looks like this:
My Dockerfile:
However, I get the below error when I build my container and start it:
Error: loading configuration: credentials: github credentials: ssh credentials: ssh authentication credentials: password non-empty value is requiredMy questions:
private_key_pathkey contain the file location from the host machine or the Docker container (I have tried the path inside the docker container, but that did not work either.private_key_bytesrequired or optional? I do not know what exactly will go here?An addition to the documentation is highly appreciated. If I can get answers to these questions, I'd like to do a PR for the same to the documentation. Lack of clarity here inhibits the adoption in a corporate setup that is protected by VPNs, firewalls and internal host mappings, where accessing the git repo is only possible via SSH.
Beta Was this translation helpful? Give feedback.
All reactions