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

[Question] Same repository with different deploy options #760

Closed
Jonatha-Varjao opened this issue Jul 9, 2020 · 2 comments
Closed

[Question] Same repository with different deploy options #760

Jonatha-Varjao opened this issue Jul 9, 2020 · 2 comments
Labels

Comments

@Jonatha-Varjao
Copy link

Amazin project @githubsaturn !

I have one question, One repository has my standard RESTFUL API and also, some celery workers, I created the CI grabbing the push changes in GitHub and deploy is done perfectly, the problem now is to set up the workers using the same repository, basically what I need is to point to another dockerfile, DockerfileAPI and DockerfileCelery something like that

I tried to read the docs, find some common issue but no success. Any help, direction is a blessing!

Thx !

@Jonatha-Varjao Jonatha-Varjao changed the title [Question] Same repository with differente deploy options [Question] Same repository with different deploy options Jul 9, 2020
@githubsaturn
Copy link
Collaborator

You can have multiple captain-definition files in your repository. Each of them can point to a different Dockerfile.

To set the location of the captain-definition file for a particular app, navigate to the Deployment tab for your app, and at the bottom of your page, you can change the path of captain-definition

image

@Jonatha-Varjao
Copy link
Author

It was in the front of my eyes this hole time !
Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants