Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ---
- # Update your odoo code so the root user check is disabled. (openerp/cli/server.py:52 (check_root_user())
- #
- # Before running `lando start` comment the `command` line.
- # When this is done, uncomment the `command` line and then run `lando restart`.
- #
- # Next, run `docker ps` to check on what external port the odoo service (internal 8069) is running.
- # ---
- name: odoo
- services:
- python:
- type: python:2.7
- command: /app/openerp-server --logfile=/app/odoo.log --db_host=postgresql --db_user=odoo_user --db_password=odoo_password
- extras:
- - "apt-get update -y"
- - "apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev -y"
- - "pip install -r requirements.txt"
- overrides:
- services:
- ports:
- - 8069
- postgresql:
- type: postgres:9.3
- creds:
- user: odoo_user
- password: odoo_password
- database: odoo_database
- tooling:
- pip:
- service: python
- python:
- service: python
- easy_install:
- service: python
- pyvenv:
- service: python
- postgres:
- user: root
- service: postgresql
Add Comment
Please, Sign In to add comment