Sign inSign up

devbinaural/odoo

By devbinaural

Updated about 7 years ago

Image
0

223

devbinaural/odoo repository overview

What is Odoo?

Odoo, formerly known as OpenERP, is a suite of open-source business apps written in Python and released under the AGPL license. This suite of applications covers all business needs, from Website/Ecommerce down to manufacturing, inventory and accounting, all seamlessly integrated. It is the first time ever a software editor managed to reach such a functional coverage. Odoo is the most installed business software in the world. Odoo is used by 2.000.000 users worldwide ranging from very small companies (1 user) to very large ones (300 000 users).

Odoo

How to use this image

This image requires a running PostgreSQL server.

Start a PostgreSQL server
docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:10
Start an Odoo instance
docker run -p 8069:8069 --name odoo --link db:db -t devbinaural/odoo

docker-compose example

version: '2'
services:
  web:
    container_name: odoo_web
    image: devbinaural/odoo
    depends_on:
      - db
    networks:
      - postgres
    ports:
      - "10000:8069"
    volumes:
      - odoo-web-data:/var/lib/odoo
      - ./modules:/mnt/extra-addons
      - ./lib:/home/lib
      - ./filestore:/home/filestore
# Docker      
#      - ./core:/usr/lib/python3/dist-packages/odoo/addons
# Without Docker
#      - ./proyect_name/odoo/addons:/home/core1
#      - ./proyect_name/addons:/home/core2

  db:
    container_name: odoo_database
    image: postgres:10
    ports:
      - "10001:5432"
    networks:
      - postgres
    environment:
      - POSTGRES_DB=postgres
      - POSTGRES_PASSWORD=odoo
      - POSTGRES_USER=odoo
    restart: always

  pgadmin:
    container_name: pgadmin4
    image: dpage/pgadmin4
    depends_on:
      - db
    environment:
      PGADMIN_DEFAULT_EMAIL: [email protected]
      PGADMIN_DEFAULT_PASSWORD: password
    volumes:
       - pgadmin:/root/.pgadmin
    ports:
      - "10002:80"
    networks:
      - postgres
    restart: always

networks:
  postgres:
    driver: bridge

volumes:
  odoo-web-data:
  pgadmin:	

odoo.conf example

[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
; admin_passwd = admin
; csv_internal_sep = ,
; db_maxconn = 64
; db_name = False
; db_template = template1
; dbfilter = .*
; debug_mode = False
; email_from = False
; limit_memory_hard = 2684354560
; limit_memory_soft = 2147483648
; limit_request = 8192
; limit_time_cpu = 60
; limit_time_real = 120
; list_db = True
; log_db = False
; log_handler = [':INFO']
; log_level = info
; logfile = None
; longpolling_port = 8072
; max_cron_threads = 2
; osv_memory_age_limit = 1.0
; osv_memory_count_limit = False
; smtp_password = False
; smtp_port = 25
; smtp_server = localhost
; smtp_ssl = False
; smtp_user = False
; workers = 0
; xmlrpc = True
; xmlrpc_interface = 
; xmlrpc_port = 8069
; xmlrpcs = True
; xmlrpcs_interface = 
; xmlrpcs_port = 8071

Tag summary

Content type

Image

Digest

Size

530.4 MB

Last updated

about 7 years ago

docker pull devbinaural/odoo:12.0