docker-compose.yml 730 B

1234567891011121314151617181920212223242526272829303132
  1. version: '2'
  2. services:
  3. matomo:
  4. image: matomo
  5. environment:
  6. GID: '1000'
  7. UID: '1000'
  8. stdin_open: true
  9. volumes:
  10. - /mnt/matomo/config:/var/www/html/config
  11. tty: true
  12. links:
  13. - matomo-db:db_matomo
  14. ports:
  15. - 82:80/tcp
  16. labels:
  17. io.rancher.container.pull_image: always
  18. matomo-db:
  19. image: mariadb:latest
  20. environment:
  21. MYSQL_ROOT_PASSWORD: vergessen1974
  22. MYSQL_DATABASE: matomo
  23. MYSQL_USER: matomo
  24. MYSQL_PASSWORD: vergessen1974
  25. stdin_open: true
  26. volumes:
  27. - /mnt/matomo/db:/var/lib/mysql
  28. tty: true
  29. command:
  30. - --max_allowed_packet=72505856
  31. labels:
  32. io.rancher.container.pull_image: always