Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. version: '3.1'
  2.  
  3. services:
  4. db:
  5. image: mariadb:latest
  6. restart: always
  7. environment:
  8. MYSQL_ROOT_PASSWORD: somewordpress
  9. MYSQL_DATABASE: wordpress
  10. MYSQL_USER: wordpress
  11. MYSQL_PASSWORD: wordpress
  12.  
  13. wordpress:
  14. depends_on:
  15. - db
  16. image: wordpress:latest
  17. ports:
  18. - "8000:80"
  19. restart: always
  20. volumes:
  21. - wp_vol:/var/www/html
  22. environment:
  23. WORDPRESS_DB_HOST: db:3306
  24. WORDPRESS_DB_USER: wordpress
  25. WORDPRESS_DB_PASSWORD: wordpress
  26. sb:
  27. depends_on:
  28. - wordpress
  29. image: dperson/samba
  30. command: [samba.sh,
  31. -u root;root,
  32. -s wp_vol;/var/www/html;yes;no,
  33. ]
  34. ports:
  35. - "138:138/udp"
  36. - "139:139/udp"
  37. - "445:445/udp"
  38. - "445:445"
  39. volumes:
  40. - wp_vol:/var/www/html
  41. adminer:
  42. image: adminer
  43. ports:
  44. - 8080:8080
  45. volumes:
  46. wp_vol:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement