Giter Club home page Giter Club logo

docker-odoo's Introduction

Description

This docker image setup a full openerp environment, with pre-installed PostgreSQL and LibreOffice headless services.

A one-command quick installation script is available (Ubuntu 14.04 only):

curl -sSL http://code.trobz.com/install/latest  | /bin/bash

Note: The script is doing a lot for you, it will install docker and fig, then pull the docker image from the hub and configure the container with a fig.yml file in $HOME/docker/odoo-latest/. It will also add the container into upstart config to automatically run it at the next host start up.

Dependency

This image is based on trobz/sshd + his own dependencies.

OS / Services

  • Ubuntu 14.04.1 LTS
  • Supervisord 3.0b2
  • PostgreSQL 9.3.5
  • Python 2.7.6 / 3.4.0
  • Odoo 9.0 (master branch) + all required python packages (setup based on offical odoo setup.py)

Features

Odoo demo

If the env ODOO_DEMO is set to 1, the container will setup a Odoo instance for you by creating the database and adding a supervisord configuration for Odoo.

Then, you will have a running Odoo instance accessible on http://localhost:<port-map-to-8069>/ out-of-the-box.

PostgreSQL

PostgreSQL 9.3 is set up to store data, configuration and logs on external volume to keep databases persistent.

To keep your PostgreSQL database persistn, you have to bind a volume like this:

/path/on/host/postgres/data:/etc/postgresql/docker/data
/path/on/host/postgres/config:/etc/postgresql/docker/config
/path/on/host/postgres/log:/etc/postgresql/docker/log

IDE remote debugging

The remote debugging can be auto-configured at start up, to enable it, you have to bind the debugging python source from your IDE to a specific folder:

/path/to/IDE/debugging/source:/usr/local/lib/pydevd

The init script will automatically setup PyCharm and Eclipse debugger and update the default user PYTHONPATH to enable remote debugging.

Ports

Several ports are exposed:

  • 8069: openerp service
  • 5432: PostgreSQL service
  • 22: ssh server (see trobz/sshd image)
  • 8011: supervisord http interface (see trobz/supervisord image)

docker-odoo's People

Contributors

zazabe avatar

Watchers

 avatar James Cloos avatar

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.