Advertisement
Guest User

Untitled

a guest
Sep 6th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. version: '3.3'
  2. services:
  3. db:
  4. image: pix_db
  5. container_name: pix_db
  6. image: mysql:5.7
  7. volumes:
  8. - db_data:/var/lib/mysql
  9. restart: always
  10. environment:
  11. MYSQL_ROOT_PASSWORD: test
  12. MYSQL_DATABASE: test
  13. MYSQL_USER: test
  14. MYSQL_PASSWORD: test
  15. networks:
  16. - backend
  17. api:
  18. image: pix_api
  19. container_name: pix_api
  20. build:
  21. context: .
  22. dockerfile: ./Dockerfiles/api/Dockerfile.cpu
  23. depends_on:
  24. - media
  25. - db
  26. ports:
  27. - "8080:8080"
  28. networks:
  29. - backend
  30.  
  31. networks:
  32. backend:
  33. hidden:
  34.  
  35. volumes:
  36. db_data:
  37.  
  38. php bin/console assets:install -e prod
  39.  
  40. [DoctrineDBALExceptionConnectionException]
  41. An exception occured in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
  42.  
  43. Installing assets as hard copies.
  44.  
  45. --- ----------------------------- ----------------
  46. Bundle Method / Error
  47. --- ----------------------------- ----------------
  48. ✔ NelmioApiDocBundle copy
  49. -> web/bundles/nelmioapidoc
  50. ✔ AppBundle copy
  51. -> web/bundles/app
  52. --- ----------------------------- ----------------
  53.  
  54. ! [NOTE] Some assets were installed via copy. If you make changes to these assets you have to run this command again.
  55.  
  56.  
  57. [OK] All assets were successfully installed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement