Guest User

Untitled

a guest
Mar 18th, 2018
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. version: '3'
  2. services:
  3. db:
  4. container_name: inwego_db
  5. image: mysql:5.7
  6. volumes:
  7. - "./.data/db:/var/lib/mysql"
  8. ports:
  9. - "127.0.0.1:3308:3306"
  10. restart: always
  11. environment:
  12. MYSQL_ROOT_PASSWORD: wordpress
  13. MYSQL_DATABASE: inwego
  14. MYSQL_USER: wordpress
  15. MYSQL_PASSWORD: wordpress
  16.  
  17. wordpress:
  18. container_name: inwego_wp
  19. depends_on:
  20. - db
  21. image: wordpress:latest
  22. volumes:
  23. - "$PWD:/var/www/html"
  24. links:
  25. - db
  26. ports:
  27. - "127.0.0.1:8080:80"
  28. restart: always
  29. environment:
  30. WORDPRESS_DB_HOST: db:3306
  31. WORDPRESS_DB_PASSWORD: wordpress
  32. WORDPRESS_TABLE_PREFIX: wp_llcve1o9hr_
Add Comment
Please, Sign In to add comment