1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00
dockerfiles/odoo/README.md
2019-04-07 12:36:11 +08:00

699 B

odoo

Odoo is a suite of web based open source business apps.

docker-compose.yml

odoo:
  image: odoo:12
  ports:
    - "127.0.0.1:8069:8069"
  volumes:
    - ./data/config:/etc/odoo
    - ./data/web:/var/lib/odoo
    - ./data/addons:/mnt/extra-addons
  links:
    - postgres:db
  restart: always

postgres:
  image: postgres:11-alpine
  volumes:
    - ./data/postgres:/var/lib/postgresql/data
  environment:
    - POSTGRES_DB=postgres
    - POSTGRES_USER=odoo
    - POSTGRES_PASSWORD=odoo
  restart: always

up and running

$ mkdir -m 777 -p data/web
$ docker-compose up -d
$ curl http://localhost:8069

Create a database: odoo