Guest User

Untitled

a guest
Jul 26th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. version: '2'
  2. services:
  3. db:
  4. image: postgres:9.4
  5. restart: always
  6. environment:
  7. - POSTGRES_USER=odoo
  8. - POSTGRES_PASSWORD=odoo
  9. odoo:
  10. image: odoo:11
  11. restart: always
  12. links:
  13. - db:db
  14. volumes:
  15. - ./odoo.conf:/etc/odoo/odoo.conf
  16. - ./extra-addons:/mnt/extra-addons
  17. labels:
  18. - "traefik.enable=true"
  19. - "traefik.odoo.frontend.rule=Host:example.com"
  20. - "traefik.odoo.port=8069"
  21. - "traefik.chat.frontend.rule=Host:example.com;PathPrefix:/longpolling"
  22. - "traefik.chat.port=8072"
  23. proxy:
  24. image: traefik
  25. command: --web -c /etc/traefik/traefik.toml --LOGLEVEL=debug
  26. restart: always
  27. ports:
  28. - "80:80"
  29. - "443:443"
  30. volumes:
  31. - /var/run/docker.sock:/var/run/docker.sock
  32. - ./traefik.toml:/etc/traefik/traefik.toml
  33. - /acme
Add Comment
Please, Sign In to add comment