db: image: mysql volumes: - ./mysql/runtime:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD app: image: piwik links: - db volumes: - ./config:/var/www/html/config - ./ssmtp.conf:/etc/ssmtp/ssmtp.conf - ./revaliases:/etc/ssmtp/revaliases web: image: nginx volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro links: - app volumes_from: - app environment: - VIRTUAL_HOST cron: image: piwik links: - db volumes_from: - app entrypoint: | bash -c 'bash -s <