Skip to content

Add support for bootstrapping from filesystem without a git repo #1

@prabirshrestha

Description

@prabirshrestha

Was looking for tools to migrate from Nomad to plain docker-compose and I noticed this tool. Currently I use nomad-gitops-operator and I had added support there for deploying directly without git repo. More info in this PR. jonasvinther/nomad-gitops-operator#14. My primary reason to migrate away from it is that I'm getting tired of migrating docker-compose to nomad jobs files and deploying multiple times to make sure it runs correctly.

Use case:

  • I want to test locally on my dev machine and no need to push my commits to test it out.
  • I want everything to be self hosted which means I don't want to push my stacks to public git repo either GitHub or self hosted git servers which I then need to worry about security. It also has a chicken and egg problem when I would want the git server to be actually deployed via docker-stack-deploy.

My ideal goal is to just have a makefile that does rsync and calls docker-stack-deploy bootstrap --project-dir ./stacks on the server.

Bonous: Would be good if I can also directly download docker-stack-deploy binary from GitHub release and run it instead of using docker to run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions