Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom options per role #95

Merged
merged 5 commits into from
Mar 9, 2023
Merged

Custom options per role #95

merged 5 commits into from
Mar 9, 2023

Conversation

dhh
Copy link
Member

@dhh dhh commented Mar 9, 2023

Allow roles to have their own docker run options. Like:

servers:
  web:
    - 1.1.1.1
  jobs:
    hosts:
      - 1.1.1.2
    cmd: bin/jobs
    options:
      mount: "somewhere"
      add-host: true

Will result in job containers being started with:

docker run --detach --restart unless-stopped ... --mount \"somewhere\" --add-host my/app:999 bin/jobs

@dhh dhh merged commit 3b7836f into main Mar 9, 2023
@kjellberg kjellberg mentioned this pull request Mar 15, 2023
@jeremy jeremy deleted the cmd-args-for-roles branch September 6, 2023 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant