Dokku Multiple app in single repo

0 votes

I have a maven project




I want to run service-a and service-b in dokku.

dokku apps:create service-a

dokku apps:create service-b

git remote add dokku

how to do this for service-b

How to tell dokku which service do I want to start ?

Jul 16, 2018 in Other DevOps Questions by Nilesh
• 6,900 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

You can use the dokku-monorepo plugin. It’s used for monorepo setups.

Step 1- Install the plugin

      dokku plugin:install

step 2- $ ls




                The file .dokku-monorepo contains paths for applications to be deployed

Step 3- first=myapp1


          The part before = is used to identify the dokku application.

Step 4- $ git remote -v




The example-first and example-staging-first applications would be deployed from the myapp1 folder.

When you push the code to an application's remote, the folder gets detected for you:

$ git push first

Counting objects: 253, done.

Writing objects: 100% (253/253), 38.27 KiB | 0 bytes/s, done.

Total 253 (delta 117), reused 233 (delta 109)

=====> Monorepo detected

=====> Installing from ./myapp1

-----> Cleaning up...

-----> Building example-first from herokuish...

-----> Adding BUILD_ENV to build environment...

-----> Python app detected


answered Jul 16, 2018 by Kalgi
• 2,620 points

Related Questions In Other DevOps Questions

0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,520 points
+1 vote
2 answers

When do we use Chef or Azure SDK to create VM and deploy in automation

The solution to the automated deployment in ...READ MORE

answered Aug 21, 2018 in Other DevOps Questions by Priyaj
• 56,120 points
0 votes
1 answer
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Multiple applications in one IIS website with MS Release Management

Do the following: Add a Manage IIS task ...READ MORE

answered Jul 16, 2018 in Other DevOps Questions by Kalgi
• 2,620 points
+1 vote
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.