Skip to content
Permalink
Branch: master
Find file Copy path
1 contributor

Users who have contributed to this file

70 lines (61 sloc) 1.26 KB
version: '3.6'
services:
web:
image: nginx:latest
ports:
- "${NGINX_PORT}:80"
volumes:
- type: volume
source: matomo-app
target: /matomo
- type: bind
source: ./matomo_nginx.conf
target: /etc/nginx/conf.d/default.conf
networks:
- matomo-network
depends_on:
- matomo_database
- matomo
matomo:
image: luongbui/matomo:3.5.1
volumes:
- type: volume
source: matomo-app
target: /matomo
networks:
- matomo-network
depends_on:
- matomo_database
matomo_database:
image: mysql:5.7.22
ports:
- "${MYSQL_PORT}:3306"
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: matomo_db
MYSQL_USER: matomo
MYSQL_PASSWORD: matomo
volumes:
- type: volume
source: matomo-database
target: /var/lib/mysql
networks:
- matomo-network
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
PMA_HOST: matomo_database
PMA_PORT: ${MYSQL_PORT}
ports:
- "${PHPMYADMIN_PORT}:80"
networks:
- matomo-network
depends_on:
- matomo_database
- matomo
networks:
matomo-network:
driver: bridge
volumes:
matomo-app:
matomo-database:
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.