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.

33 lines
664 B

  1. version: "2.4"
  2. services:
  3. odoo:
  4. build:
  5. context: ./odoo
  6. args:
  7. ODOO_VERSION: "14.0"
  8. UID: "${UID:-1000}"
  9. GID: "${GID:-1000}"
  10. environment:
  11. EMAIL_FROM: ""
  12. PGDATABASE: &dbname prod
  13. PGUSER: &dbuser "odoo"
  14. DB_FILTER: ".*"
  15. PROXY_MODE: "false"
  16. tty: true
  17. volumes:
  18. - filestore:/var/lib/odoo:z
  19. db:
  20. image: ghcr.io/tecnativa/postgres-autoconf:10-alpine
  21. shm_size: 512mb
  22. environment:
  23. POSTGRES_DB: *dbname
  24. POSTGRES_USER: *dbuser
  25. CONF_EXTRA: |
  26. work_mem = 512MB
  27. volumes:
  28. - db:/var/lib/postgresql/data:z
  29. smtpfake:
  30. image: mailhog/mailhog