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.

40 lines
1.0 KiB

  1. # Use this environment to download all repositories from `repos.yaml` file:
  2. #
  3. # export DOODBA_GITAGGREGATE_UID="$(id -u $USER)" DOODBA_GITAGGREGATE_GID="$(id -g $USER)" DOODBA_UMASK="$(umask)"
  4. # docker-compose -f setup-devel.yaml run --rm odoo
  5. #
  6. # You can clean your git project before if you want to have all really clean:
  7. #
  8. # git clean -ffd
  9. version: "2.4"
  10. services:
  11. odoo:
  12. build:
  13. context: ./odoo
  14. args:
  15. AGGREGATE: "false"
  16. DEPTH_DEFAULT: 100
  17. ODOO_VERSION: "14.0"
  18. PYTHONOPTIMIZE: ""
  19. PIP_INSTALL_ODOO: "false"
  20. CLEAN: "false"
  21. COMPILE: "false"
  22. UID: "${UID:-1000}"
  23. GID: "${GID:-1000}"
  24. networks:
  25. - public
  26. volumes:
  27. - ./odoo/custom/src:/opt/odoo/custom/src:rw,z
  28. environment:
  29. DEPTH_DEFAULT: 100
  30. # XXX Export these variables before running setup to own the files
  31. UID: "${DOODBA_GITAGGREGATE_UID:-1000}"
  32. GID: "${DOODBA_GITAGGREGATE_GID:-1000}"
  33. UMASK: "$DOODBA_UMASK"
  34. user: root
  35. entrypoint: autoaggregate
  36. networks:
  37. public: