akretion / docky

Docky - Helper for docker-compose mainly used in odoo context
GNU Affero General Public License v3.0
56 stars 31 forks source link

Integrate docky with dockery-odoo #115

Closed blaggacao closed 4 years ago

blaggacao commented 5 years ago

I like most of the design choices done by docky and I'd be wondering how we could combine the CLI ease of docky with the slightly stronger design choices provided by dockery-odoo-scaffold.

Anyone willing to help me in that process?

blaggacao commented 5 years ago

Of special interest would be the repository scaffolding process which is currently implemented in bash

docky init odoo for example.

blaggacao commented 5 years ago

Please also note the COMPOSE_IMPERSONATION='$(id -u):$(id -g)' technique to enable propper UID:GID while scaffolding out of the docker image itself.

I guess that compose impersonation is the key to bundling module templating within a devops container. Therefore, it can be implemented rather app agnostic (odoo, rails, etc)

blaggacao commented 5 years ago

Furthermore, I would suggest not to include everything within the docky API but load off some aspects, or example in the odoo realm to a :devops container Why? -> We also need an API out of the local command line and that's where a container is the better choice (as deployable artifact).

That means that docky migrate should interact with an app specific :devops image rather than some local scoped commands.

Do I make myself understand?

hparfr commented 4 years ago

Thanks for you comments, docky did change a lot since your comments. Now it's more tiny and closer to docker-compose than it was at the time.