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

multiple apps with a single button #142

Open
matti opened this issue Mar 4, 2020 · 10 comments
Open

multiple apps with a single button #142

matti opened this issue Mar 4, 2020 · 10 comments

Comments

@matti
Copy link

matti commented Mar 4, 2020

you know, a microservice/microlith thing as a button

@ahmetb
Copy link
Contributor

ahmetb commented Mar 4, 2020

Please be more descriptive. I cannot understand what you’re saying.

@matti
Copy link
Author

matti commented Mar 4, 2020

[
  {app1},
  {app2}
]

@jamesward
Copy link
Contributor

Are you thinking for monorepos or for multirepo?

Also, you could do this today with a pre/post create script, but that is kinda messy.

@matti
Copy link
Author

matti commented Mar 4, 2020

I think for both... but the use case I have in mind is in 6 different repos (although if I had the time and energy I would merge them to one monorepo)

What about adding support to specify image: in the app.json ? like this way the button could be anywhere..?

@matti
Copy link
Author

matti commented Mar 4, 2020

But really what I'm talking about that if I have an app that has services like "frontend" that connect to "billing" and "users" and as a true microlith does... then it would be cool to deploy that kind of app with one click.

@jamesward
Copy link
Contributor

What about adding support to specify image: in the app.json ? like this way the button could be anywhere..?

Can you elaborate on that?

@matti
Copy link
Author

matti commented Mar 4, 2020

good question - I started to explain and I realized that it would mean that the image version is set to something and it's not updated when the repository is updated. so scratch that.

So yeah, something like

[
  {app1},
  {app2}
]

or

{
  name: "mainapp",
  env: {...},
  subapps: [
    {
       name: "mainapp-sub1"
       env: {....
    },
    {
       name: "mainapp-sub2"
       env: {....
    },
  ]
}

@ahmetb
Copy link
Contributor

ahmetb commented Mar 4, 2020

This came up in other forms like "can you add support for docker compose".

Right now, there's nothing preventing someone from deploying a multi-tier application by placing 2 different buttons in their readme with ?dir= parameter.

Since there's not enough demand volume, I'm not sure if it will be worth rearchitecting everything.

@matti
Copy link
Author

matti commented Mar 4, 2020

Sure that works. So for a six service app you need six buttons.

@tomlarkworthy
Copy link

Suggest close. Multi isolated services with multi buttons works now. Multiple things on one install button (like docker-compose) logically extends to something like Terraform. So I feel like the outstanding scope of this issue is a dupe of (#137)

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

No branches or pull requests

4 participants