Closed sanzoghenzo closed 1 month ago
Hi there, I hope I'm not becoming your nightmare 😅
Haha no man I really appreciate your feedback and the suggestions you make. You're really helping me shape this tool.
It uses Tecnativa's docker-socket-proxy to only expose the needed Docker Engine API endpoints; the DOCKER_HOST environment variable points to the proxy
Oh I really like this thing
Let me know if you want me to create a PR to add the documentation, and if so, where to put it.
That would be appreciated, can you add it to the README file in a separate section, titled something like "Connecting SwarmCD to a remote docker daemon". I know the README file is getting big and needs to be organized or split into multiple files but I will leave that for later.
Regarging the environment variables, as I mentioned in https://github.com/m-adawi/swarm-cd/issues/6#issuecomment-2233667970, my command to create and update the swarm-cd stack uses yq, awk and md5sum to handle the config and secret upgrades, and is held in a Taskfile so I just have to task bootstrap
Oh I'm planning to implement this in go, making it iterate over configs and secrets and add to them the property name
with the value <name>-<file-hash>
It uses a secret for the repos.yaml file, since it can contain auth credentials
I just opened #13 to separate the repo secret from its configuration
:tada: This issue has been resolved in version 1.4.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Hi there, I hope I'm not becoming your nightmare 😅
This is what I've come up with to make the swarm-cd deployment a little more secure.
DOCKER_HOST
environment variable points to the proxyrepos.yaml
file, since it can contain auth credentialsstacks.yaml
file, so that it is not bound to a local path, and the stack can be deployed to a remote docker host.Let me know if you want me to create a PR to add the documentation, and if so, where to put it.
Regarging the environment variables, as I mentioned in https://github.com/m-adawi/swarm-cd/issues/6#issuecomment-2233667970, my command to create and update the swarm-cd stack uses
yq
,awk
andmd5sum
to handle the config and secret upgrades, and is held in a Taskfile so I just have totask bootstrap