Skip to content
Discussion options

You must be logged in to vote

I use SOPS to encrypt secrets and share the SOPS Age key with doco-cd and myself. It's not the best practice, but it's sufficient for a homelab.

Encrypt every secret file with SOPS and commit the encrypted files to the Git repository. doco-cd should start with access to the SOPS Age key so it can decrypt the secrets at runtime.

Alternatively, you can keep your .env file outside the repository and configure doco-cd to mount it. You may need to specify the environment file explicitly. In this setup, make sure to keep .env and .env.example in sync.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by AnonymousWP
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kimdre
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants