Advertisement
Guest User

Untitled

a guest
Jan 5th, 2017
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. 2955d2d5c392 nginx "/sbin/my_init" 38 seconds ago Up 36 seconds 0.0.0.0:8080->80/tcp dockertutorial_web_1
  2. ec3c16795f05 php:7-fpm "docker-php-entrypoin" 38 seconds ago Up 37 seconds 9000/tcp dockertutorial_php_1
  3. 835e91ba927a mysql:latest "docker-entrypoint.sh" 38 seconds ago Exited (0) 37 seconds ago dockertutorial_mysql_1
  4.  
  5. web:
  6. image: nginx
  7. ports:
  8. - "8080:80"
  9. volumes:
  10. - ./src/public:/var/www/public
  11. - ./src/vhost.conf:/etc/nginx/sites-enabled/vhost.conf
  12. links:
  13. - php
  14.  
  15.  
  16. php:
  17. image: php:7-fpm
  18. volumes:
  19. - ./src/public:/var/www/public
  20. links:
  21. - mysql
  22.  
  23. mysql:
  24. image: mysql:latest
  25. ports:
  26. - "3306:3306"
  27. volumes:
  28. - /var/lib/mysql
  29. command: "true"
  30. environment:
  31. MYSQL_ROOT_PASSWORD: secret
  32. MYSQL_DATABASE: project
  33. MYSQL_USER: project
  34. MYSQL_PASSWORD: project
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement