You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
474 B

5 years ago
5 years ago
5 years ago
5 years ago
  1. version: '3'
  2. services:
  3. odoo:
  4. build: .
  5. command: python3 odoo-bin -c odoo.conf
  6. depends_on:
  7. - db
  8. ports:
  9. - "8069:8069"
  10. volumes:
  11. - ./odoo.conf:/home/odoo/odoo/odoo.conf:Z
  12. - ./:/home/odoo/obeesdoo:Z
  13. db:
  14. image: postgres:10
  15. environment:
  16. - POSTGRES_DB=beescoop
  17. - POSTGRES_PASSWORD=odoo
  18. - POSTGRES_USER=odoo
  19. volumes:
  20. - ./initial-data-load:/docker-entrypoint-initdb.d:Z
  21. ports:
  22. - "5432:5432"