Advertisement
Guest User

Untitled

a guest
May 17th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. version: '2'
  2. services:
  3. mariadb:
  4. image: 'bitnami/mariadb:latest'
  5. volumes:
  6. - 'mariadb_data:/bitnami/mariadb'
  7. environment:
  8. - MARIADB_USER=bn_wordpress
  9. - MARIADB_DATABASE=bitnami_wordpress
  10. - ALLOW_EMPTY_PASSWORD=yes
  11. wordpress:
  12. image: 'bitnami/wordpress:latest'
  13. ports:
  14. - '80:80'
  15. - '443:443'
  16. volumes:
  17. - 'wordpress_data:/bitnami/wordpress'
  18. - 'apache_data:/bitnami/apache'
  19. - 'php_data:/bitnami/php'
  20. depends_on:
  21. - mariadb
  22. environment:
  23. - MARIADB_HOST=mariadb
  24. - MARIADB_PORT=3306
  25. - WORDPRESS_DATABASE_USER=bn_wordpress
  26. - WORDPRESS_DATABASE_NAME=bitnami_wordpress
  27. - ALLOW_EMPTY_PASSWORD=yes
  28. labels:
  29. kompose.service.type: nodeport
  30. volumes:
  31. mariadb_data:
  32. driver: local
  33. wordpress_data:
  34. driver: local
  35. apache_data:
  36. driver: local
  37. php_data:
  38. driver: local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement