3 ms·
What do you think isn't getting tracked? You could put your SSH server configuration in a repo. You could put your SSH authorization key in a repo. You could e
by inetknght 5y ago
What do you think isn't getting tracked?
You could put your SSH server configuration in a repo. You could put your SSH authorization key in a repo. You could even put your private key in a repo if you really wanted.
- stavros 5y agoHow do you track what's supposed to run and what's not, for example? Or the environment variables, or anything else you can set through the cli.
- electroly 5y agoDocker Compose is designed for this.
- stavros 5y agoYep, that's why Harbormaster uses it.
- hckr1292 5y agoThe killer feature of harbormaster is watching the remote repository. Can docker-compose do that? If it can, I should just leverage that feature instead of harbormaster! The nicety here on harbormaster seems to be that there are some ways to use the same code as a template in which specific differences are dynamically inserted by harbormaster. I'm not aware of how you could use docker-compose (without swarm) to accomplish this, unless you start doing a lot of bash stuff. I also appreciate that harbormaster offers opinions on secrets management.
- gibs0ns 5y agoFor me, I don't define any variables via the cli, i put them all in the docker-compose.yml or accompanying .env file, that way it's a simple `docker-compose up` to deploy. Then I can track these files via git, and deploy to remote docker hosts using docker-machine, which effectively sets the DOCKER_HOST env var. While I haven't used it personally, there is [0] Watchtower which aims to automate updating docker containers. [0] https://github.com/containrrr/watchtower https://github.com/containrrr/watchtower
- inetknght 5y agoWhat do you mean? You run what's supposed to run the same way you would anything else. It's the same for the environment variables. How would you track what's supposed to run and what's not for Docker? Using the `DOCKER_HOST` environment variable to connect over SSH is the exact same way.
- stavros 5y agoI wouldn't. That's why I wrote Harbormaster, so I can track what's running and what isn't.