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

docky init is not compatible with published docky-template #139

Closed rvalyi closed 3 years ago

rvalyi commented 4 years ago

if you clone https://github.com/akretion/docky-odoo-template and start a fresh Docky project, you will have no .env file and your Docky projet will not work. So what you may probably do is docky init but then in the generated .env file you would be missing these environment variables to get things working properly:

PGHOST=db
PGDATABASE=demo
PGUSER=odoo
DB_USER=odoo

So what do we fix: the docky-odoo-template or docky init to make things user friendly?

hparfr commented 4 years ago

Short term: Add it in docky init.

rvalyi commented 4 years ago

(was my option too)

hparfr commented 3 years ago

Fixed.

You can test https://github.com/akretion/docky/pull/141 (don't forget to pip install -r requirements.txt)