web: image: wordpress links: - "db:mysql" ports: - "80" environment: MYSQL_WORDPRESS_PASSWORD: secret volumes_from: - file db: image: mysql environment: MYSQL_ROOT_PASSWORD: secret volumes_from: - file file: image: busybox command: echo "datastore" volumes: - /var/www/html - /var/lib/mysql