Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. version: '2'
  2. services:
  3. db:
  4. image: mysql:5.7
  5. volumes:
  6. - ./.data/db:/var/lib/mysql
  7. restart: always
  8. environment:
  9. MYSQL_ROOT_PASSWORD: wordpress
  10. MYSQL_DATABASE: wm-trading
  11. MYSQL_USER: wordpress
  12. MYSQL_PASSWORD: wordpress
  13.  
  14. wordpress:
  15. depends_on:
  16. - db
  17. image: wordpress:latest
  18. volumes:
  19. - ./wp-data:/var/www/html/wp-content
  20. links:
  21. - db
  22. ports:
  23. - "8000:80"
  24. restart: always
  25. environment:
  26. WORDPRESS_DB_HOST: db:3306
  27. WORDPRESS_DB_PASSWORD: wordpress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement