SHARE
TWEET

Untitled

a guest Oct 21st, 2019 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. php-apache:
  2.     image: php:7.2.1-apache
  3.     ports:
  4.         - "80:80"
  5.     volumes:
  6.         -  /root/DockerLAMP/BootStrap/:/var/www/html/
  7.     links:
  8.         - 'mysql'
  9.  
  10. mysql:
  11.     image: mariadb
  12.     environment:
  13.         MYSQL_USERNAME: root
  14.         MYSQL_ROOT_PASSWORD: admin
  15.     ports:
  16.         - "3306:3306"
  17.     volumes:
  18.         - my-datavolume:/var/lib/mysql
  19.  
  20. phpmyadmin:
  21.     image: phpmyadmin/phpmyadmin
  22.     restart: always
  23.     links:
  24.         - mysql
  25.     ports:
  26.         - 8183:80
  27.     environment:
  28.         PMA_USER: root
  29.         PMA_PASSWORD: admin
  30.         PMA_ARBITRARY: 1
  31.         PMA_HOST: mysql
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top