Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4. db:
  5. image: mysql:5.7
  6. volumes:
  7. - ./db:/docker-entrypoint-initdb.d
  8. restart: always
  9. environment:
  10. MYSQL_ROOT_PASSWORD: wordpress
  11. MYSQL_DATABASE: wordpress
  12. MYSQL_USER: wordpress
  13. MYSQL_PASSWORD: wordpress
  14.  
  15. wordpress:
  16. depends_on:
  17. - db
  18. image: wordpress:latest
  19. volumes:
  20. - ./src:/var/www/html/wp-content/themes/wordpress-boilerplate
  21. - ./uploads:/var/www/html/wp-content/uploads
  22. - ./wp-config.php:/var/www/html/wp-config.php
  23. - ./.htaccess:/var/www/html/.htaccess
  24. - ./plugins.csv:/var/www/html/plugins.csv
  25. - ./plugins.sh:/var/www/html/plugins.sh
  26. - ./plugins:/var/www/html/wp-content/plugins
  27. ports:
  28. - "8080:80"
  29. restart: always
  30.  
  31. phpmyadmin:
  32. image: phpmyadmin/phpmyadmin
  33. environment:
  34. MYSQL_ROOT_PASSWORD: wordpress
  35. ports:
  36. - "8081:80"
  37. depends_on:
  38. - db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement