Giter Club home page Giter Club logo

docker-compose-odoo13-enterprise's Introduction

Installing Odoo 13 Enterprise with one click

Install docker and docker-compose yourself, then run:

$ docker-compose up -d

Usage

Change the folder permission to make sure that the container is able to access the directories:

$ mkdir -p postgresql
$ mkdir -p pgadmin4
$ sudo chmod -R 777 addons
$ sudo chmod -R 777 etc
$ sudo chmod -R 777 enterprise
$ sudo chmod -R 777 pgadmin4
$ sudo chmod -R 777 postgresql

Run Odoo container in detached mode (be able to close terminal without stopping Odoo):

$ docker-compose up -d

Then open localhost:8069 to access Odoo 13.0. If you want to start the server with a different port, change 8069 to another value in docker-compose.yml:

ports:
 - "8069:8069"

Custom addons

The custom_addons/ folder contains custom addons. Just put your custom addons if you have any.

The enterprise/ folder contains enterprise addons. Just put you enterprise addons on it.

Using pgAdmin4 connect to postgres database

If you want to use pgadmin4 to connect postgres database: open localhost:1234 to access to pgAdmin4 (username = admin, password = admin)

create sever with:

 hostname = pgsql-server
 port=5432
 postgres_user = odoo
 postgres_pasword = odoo

change to another value in docker-compose.yml

Odoo configuration & log

  • To change Odoo configuration, edit file: etc/odoo.conf
  • Log file: etc/odoo-server.log

Install Odoo External Dependencies

docker ps #get container name or id
docker exec -it --user=root CONTAINER_NAME_OR_ID python3 -m pip install WHAT_YOU_NEED
docker restart CONTAINER_NAME_OR_ID

Odoo container management

Restart Odoo:

$ docker-compose restart

Kill Odoo:

$ docker-compose down

Remove Odoo & data

Completely remove Odoo and all databases!

$ sh remove_odoo.sh

docker-compose.yml

  • odoo:13.0
  • postgres:11
  • pgadmin:latest

References

https://github.com/minhng92/odoo-13-docker-compose

docker-compose-odoo13-enterprise's People

Contributors

ndvinh98 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.