1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/odoo
2018-04-28 17:11:10 +08:00
..
docker-compose.yml upgrade odoo to 11.0 2017-10-14 12:48:45 +08:00
README.md update 2018-04-28 17:11:10 +08:00

odoo

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

docker-compose.yml

odoo:
  image: odoo:11.0
  ports:
    - "8069:8069"
  volumes:
    - ./data/odoo:/var/lib/odoo
    - ./data/addons:/mnt/extra-addons
  links:
    - postgres:db
  restart: always

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

up and running

$ mkdir -m 777 -p data/odoo
$ docker-compose up -d
$ docker-compose exec postgres psql -U postgres
postgres=# \l
postgres=# drop database odoo;
postgres=# \q
$ curl http://localhost:8069