Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data:
- build: data
- app:
- build: app
- db:
- --volumes-from data \
- -e MYSQL_ROOT_PASSWORD=secret \
- -e MYSQL_USER=user \
- -e MYSQL_PASSWORD=password \
- -e MYSQL_DATABASE=db \
- -v ~/dockerfiles/etc/mysql/conf.d:/etc/mysql/conf.d \
- -d mysql:5.6
- wp:
- -p 80:80 \
- --link db:mysql \
- -v /home/user/dockerfiles/wp-content:/var/www/html/wp-content \
- -d wordpress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement