Last active
March 27, 2019 09:35
-
-
Save stijnh92/b0af5e15229f616e4bf74b5ea385419e to your computer and use it in GitHub Desktop.
Lando YAML configuration for Odoo 8.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --- | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After run lando start get this errors :