Guest User

Untitled

a guest
Dec 27th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. version: '2'
  2.  
  3. services:
  4. mysql:
  5. image: mysql:5
  6. expose:
  7. - "3306"
  8. environment:
  9. MYSQL_ROOT_PASSWORD: 12345
  10. MYSQL_DATABASE: lamp-teste
  11.  
  12. php-unit:
  13. image: phpunit/phpunit:5.7.12
  14.  
  15. php-5.6:
  16. image: php:5.6
  17. ports:
  18. - 8080:80
  19. volumes:
  20. - ./log/apache2/error.log:/var/log/apache2/error.log
  21. - ./log/apache2/access.log:/var/log/apache2/access.log
  22. - ./html:/var/www/html
  23. environment:
  24. WORDPRESS_DB_HOST: mysql
  25. WORDPRESS_DB_USER: root
  26. depends_on:
  27. - mysql
  28. - php-unit
  29.  
  30. Recreating dockerlampteste_mysql_1 ...
  31. Recreating dockerlampteste_php-unit_1 ...
  32. Recreating dockerlampteste_php-unit_1
  33. Recreating dockerlampteste_mysql_1 ... done
  34. Recreating dockerlampteste_php-5.6_1 ...
  35. Recreating dockerlampteste_php-5.6_1 ... done
  36.  
  37. Name Command State Ports
  38. ----------------------------------------------------------------------
  39. dockerlampteste_mysql_1 docker-entrypoint.sh mysqld Up
  40. 3306/tcp
  41. dockerlampteste_php-5.6_1 docker-php-entrypoint php -a Exit 0
  42.  
  43. dockerlampteste_php-unit_1 /usr/local/bin/phpunit --help Exit 0
Add Comment
Please, Sign In to add comment