docker-odoo/8.0/run.sh

16 lines
446 B
Bash
Raw Normal View History

2014-12-10 06:20:15 -05:00
#!/bin/bash
# set openerp-server.conf
echo "[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = $DB_PORT_5432_TCP_ADDR
db_port = $DB_PORT_5432_TCP_PORT
db_user = odoo
db_password = odoo
data_dir = /var/lib/odoo
2014-12-10 06:20:15 -05:00
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons" > /etc/odoo/openerp-server.conf
# start Odoo
exec gosu odoo /usr/bin/openerp-server --config /etc/odoo/openerp-server.conf