Collection of my docker-compose configs for multiple applications. https://software-berater.net/2020/meine-docker-sammlung/
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.

28 lines
556 B

version: '2'
services:
db:
image: mariadb:latest
command: --max_allowed_packet=64M
volumes:
- ./mysql/runtime2:/var/lib/mysql
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=1
app:
image: matomo:4-fpm
links:
- db
volumes:
- ./config:/var/www/html/config:rw
- ./logs:/var/www/html/logs
env_file:
- ./matomo.env
web:
image: nginx:latest
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
links:
- app
volumes_from:
- app
ports:
- 127.0.0.1:8001:80