tinyerp / odoo-docker

Docker images for Odoo and OpenERP (unofficial)
https://index.docker.io/u/tinyerp/
57 stars 22 forks source link

How do you copy conf file to /etc/supervisord #5

Open dfang opened 9 years ago

dfang commented 9 years ago

hi florentx, i'm not sure if i can ask some stupid questions here, and if it's not appropriate, you can delete this

~# docker exec openerp ls -al /etc/supervisor/conf.d
total 20
drwxr-xr-x 2 root root 4096 Sep 23  2014 .
drwxr-xr-x 3 root root 4096 Sep 23  2014 ..
-rw-r--r-- 1 root root  194 Jun  1  2014 dropbear.conf
-rw-r--r-- 1 root root  260 Jun 17  2014 odoo.conf
-rw-r--r-- 1 root root  283 Jun  1  2014 postgresql.conf

i don't understand how you copy configuration files to /etc/supervisord, i don't see anything about this in 8.0/debian/Dockerfile, and also i don't understand why i run docker run -d --name openerp -p 8069:8069 tinyerp/debian-odoo then openerp-server is started ?

this is so different from https://github.com/odoo/docker/blob/master/8.0/Dockerfile, but i want to your version dockerfile, because i want to install it from source code, i want to customize something.

thanks !