Guest User

Untitled

a guest
May 21st, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. # ---
  2. # Update your odoo code so the root user check is disabled. (openerp/cli/server.py:52 (check_root_user())
  3. #
  4. # Before running `lando start` comment the `command` line.
  5. # When this is done, uncomment the `command` line and then run `lando restart`.
  6. #
  7. # Next, run `docker ps` to check on what external port the odoo service (internal 8069) is running.
  8. # ---
  9. name: odoo
  10. services:
  11. python:
  12. type: python:2.7
  13. command: /app/openerp-server --logfile=/app/odoo.log --db_host=postgresql --db_user=odoo_user --db_password=odoo_password
  14. extras:
  15. - "apt-get update -y"
  16. - "apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev -y"
  17. - "pip install -r requirements.txt"
  18. overrides:
  19. services:
  20. ports:
  21. - 8069
  22. postgresql:
  23. type: postgres:9.3
  24. creds:
  25. user: odoo_user
  26. password: odoo_password
  27. database: odoo_database
  28. tooling:
  29. pip:
  30. service: python
  31. python:
  32. service: python
  33. easy_install:
  34. service: python
  35. pyvenv:
  36. service: python
  37. postgres:
  38. user: root
  39. service: postgresql
Add Comment
Please, Sign In to add comment