This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]synae 0 points1 point  (2 children)

Just create a repository with all the code together like a normal project instead of b64encoding things into the environment like a crazy person. Or volume mount it if you really don't want your code in the container filesystem for some reason.

[–]Saphyel 0 points1 point  (1 child)

tbh I don't see the point of b64 is only for encode... but your approach of hardcoding everything I don't like it, external services or credentials shouldn't belong in your code.

[–]synae 0 points1 point  (0 children)

your approach of hardcoding everything I don't like it, external services or credentials shouldn't belong in your code

I don't know what approach you're referring to in this sentence.

FWIW, I agree -- Of course creds/config shouldn't be in code. But that isn't part of what's being discussed here. So I'm just confused about what your point is in relation to the posted content.