odoo / docker

Other
932 stars 1.52k forks source link

Canno't mount and run database with Docker Composer #212

Open turkimaki opened 5 years ago

turkimaki commented 5 years ago

Hello , I'am trying to mount database inside volumes on docker composer and then I didn't know how to run this image Odoo with database gived on volumes. I had already mount extra addons gived on the docker composer but canno't mount database which gived on the docker composer .

=> For more details these is my docker comopser (my database is located on my git project + docker composer ) (/dpbox_db contains the db on git project ) Docker Composer File :

version: '2' services: db: image: postgres:9.5 environment:


Please Help to solve my problem thanks .

Cordially Turki Makki.

salfredogonzalez commented 5 years ago

I hope this can help you, this is working: `version: '2' services: odoo11: container_name: odoo_11 image: odoo:11.0 depends_on:

volumes: db: odoo11: ` I add some values like the container name, and expose the ports for pgadmin, so i can access to the database with a postgresql client, like pgadmin.

d-fence commented 4 years ago

Can you give more information on the exact problem/error ?

lathama commented 3 months ago

@turkimaki have you found a solution to your issue?