Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker run -d \
- --name=mariadb \
- --restart=always \
- -v /etc/localtime:/etc/localtime:ro \
- -e MYSQL_ROOT_PASSWORD=senha \
- -v /storage/mariadb:/var/lib/mysql \
- mariadb:latest
- docker run -d \
- --restart=always \
- --name=myadmin \
- -v /etc/localtime:/etc/localtime:ro \
- --link mariadb:db \
- -p 9595:80 \
- phpmyadmin/phpmyadmin
- docker run -d \
- --restart=always \
- -v /etc/localtime:/etc/localtime:ro \
- --name=wordpress \
- -v /storage/wordpress:/var/www/html \
- -e WORDPRESS_DB_USER=root \
- -e WORDPRESS_DB_PASSWORD=senha \
- --link mariadb:mysql \
- -p 80:80 \
- wordpress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement