Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Clouder self-installation and autonomous #182

Open
3 tasks
YannickB opened this issue Dec 14, 2016 · 11 comments
Open
3 tasks

Clouder self-installation and autonomous #182

YannickB opened this issue Dec 14, 2016 · 11 comments

Comments

@YannickB
Copy link
Owner

YannickB commented Dec 14, 2016

Currently deploying a Clouder is not so easy, at least one which it itself easily accessible through proxy and backuped reliably.

To give you an idea, on our main site we have a not backuped initialisation Clouder, which deploy and backup goclouder.net, which itself deploy and backup the others websites. We need to find a way for Clouder to be easier to deploy and autonomous.

Clouder itself shall be deployed through a simple one-line command. To achieve this we should

  • First we need to create a docker compose which will deploy all needed containers (only postgres and odoo containers are needed), so we have an Odoo instance up and running. This docker compose call Clouder images, no need to reinvent the wheel and have redundant code.

  • Then, we shall make sure this compose file automatically create an Odoo base for the specified domain, and configure Clouder modules in it. At this point, we'll have a Clouder up and running with a single Docker command

  • Finally, we have to make sure this Clouder can be aware of himself. This means that the infrastructure it will deploy can be configure to know himself :

    • The DNS container will redirect the domain to current server
    • The proxy will redirect to this container
    • The mails are correctly redirected
    • The Clouder can autobackup himself
      This last point require improvement in Clouder core.
@lasley
Copy link
Contributor

lasley commented Dec 14, 2016

Are we considering server orchestration in this scope (docker, etc)? Or is this the deploy of the master Clouder controller server, basically an Odoo instance with the right modules and configs?

@YannickB
Copy link
Owner Author

Mainly 2nd I guess, this concern the easier deploy of the master Clouder controller server, but still using docker.

@pasgou
Copy link

pasgou commented Jan 2, 2017

For the first step, here is what I can purpose.

Please help to make it better

https://github.com/pasgou/Odoo_Docker_Clouder.git

@pasgou
Copy link

pasgou commented Jan 2, 2017

I have some trouble with https://github.com/pasgou/odoo-clouder.git branch master

It makes error in building and do not understand why (https://hub.docker.com/r/pasgou/odoo-clouder/builds/bvwxxywqfkzktp8xezwzmku/)
Could you help me?

@amon-ra
Copy link

amon-ra commented Jan 3, 2017

You dont have gcc installed, install build-essential package to see if it works.

@pasgou
Copy link

pasgou commented Jan 3, 2017

@amon-ra Resolved 👍

@pasgou
Copy link

pasgou commented Jan 24, 2017

About infrastructure deployment, did you read this :
https://terraformbook.com/
And (official website)
https://www.terraform.io/docs/index.html

Awesome

@YannickB
Copy link
Owner Author

YannickB commented Jan 24, 2017

I think discussion about terraform is off-topic, but it catch my attention earlier. What's really interesting is the fact that terraform is full CLI, it's more comparable to Docker Swarm than Kubernetes or Openshift and thus may be easier to integrate in Clouder.

Probably need a deeper look, but I'd like it to gain more momentum we don't hear of it that often yet.

Also : it may be a really interesting solution to improve the libcloud support to AWS/Google Engine/Azure etc... and may add a strong added value to Clouder, comparatively to Kubernetes/Openshift. I'm really gonna keep it in mind.

@pasgou
Copy link

pasgou commented Jan 24, 2017

Yes, I agree it's off-topic, but it was for information.
Some people everywhere make great thinks.
All go in the same way : make infracstructure management and deployment easier.
You're all great people for this reason.

@lasley
Copy link
Contributor

lasley commented Jan 24, 2017

Terraform is a TIL for me. Looks sexy though, for sure.

@pasgou
Copy link

pasgou commented Jan 24, 2017

I found this in discovering
https://www.katacoda.com/
Always have eyes open :-)

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

No branches or pull requests

4 participants