Git Product home page Git Product logo

docker-odoo-adhoc's Introduction

Odoo Docker Compose and Images (DEPRECATED)

Docker Images

Odoo Docker Compose

This repository contains a set of dockerfiles to build different docker images used by ADHOC. It also provides a docker-compose file to use odoo in a simple way.

The default odoo docker image (adhoc/odoo-ar) that is used on compose, includes many repositories (and it dependencies) generally used by adhoc (mainly oca and ingadhoc repositories)

Requirements

To use this docker compose file need:

  • install pip "sudo apt-get install python-pip"

  • docker-compose "sudo pip install --upgrade docker-compose"

  • docker-engine "sudo curl -sSL https://get.docker.com/ | sh"

  • we also recommend this so you can use docker without sudo

    • sudo groupadd docker
    • sudo gpasswd -a $USER docker
    • sudo service docker restart && newgrp docker
  • clone this repository "git clone [email protected]:ingadhoc/docker-odoo-adhoc.git" (or "git clone https://github.com/ingadhoc/docker-odoo-adhoc.git")

  • If you want to have areoo docs convertion you shoud run only once "docker run --name="aeroo" --restart=always -d adhoc/aeroo-docs"

Run and usefull commands

  • Run "docker-compose up"
  • Odoo should be ready to be used on http://localhost:8069/
  • Check .env for choosing odoo version and other useful configurations
  • Remove everything (containers and data) "docker-compose down -v"

Links

  • TODO: Using for production <docs/developers_guide.rst/>_
  • Tips and trics <docs/tips_and_trics.rst/>_
  • Developers Guide <docs/developers_guide.rst/>_
  • Images readme <dockerfiles/README.rst/>_
  • Roadmap / Known Issues <docs/TODO.rst/>_
  • Inspired by <docs/inspired_by.rst/>_

docker-odoo-adhoc's People

Contributors

askz avatar jjscarafia avatar unxs0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-odoo-adhoc's Issues

Errores en módulos

Hola,
Modifiqué el archivo .env en mi filesystem local, indicando la versión 11.0 de odoo.
Al levantar los containers me indica los siguientes errores:
CRITICAL ? odoo.modules.module: Couldn't load module server_mode
CRITICAL ? odoo.modules.module: No module named 'server_mode'
ERROR ? odoo.service.server: Failed to load server-wide module server_mode.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 867, in load_server_wide_modules odoo.modules.module.load_openerp_module(m)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 368, in load_openerp_module import('odoo.addons.' + module_name)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 61, in load_module f, path, (_suffix, mode, type) = imp.find_module(addon_name, ad_paths)
File "/usr/lib/python3.6/imp.py", line 297, in find_module raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'server_mode'

Lo mismo para database tools.
Será necesario modificar algo en odoo.conf???

Si necesitan mas información, me indican como.

Desde ya muchas gracias.

Suggestion

Is it possible to add restart: always clause in docker-compose.yml? It is already in the extended file but uses other parameters. What is the correct way to set it under production?

jwilder/nginx-proxy

  1. Hi, is possible deploy with Spanish Spain Extend and dependencies ?

  2. I use nginx proxy, is poissible use VIRTUAL_HOST environment like this:

   environment:
      - VIRTUAL_HOST=www.sitedemo.dev

nginxssl-dockprox bad state detected

Sometimes the conf.d/server-file.conf has the snakeoil cert but /etc/letsencrypt/live already has a valid cert.

Not sure why this happens.

We need to correct this outside of certbot-auto with a simple sed -i for example.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.