Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.3'
- services:
- db:
- image: pix_db
- container_name: pix_db
- image: mysql:5.7
- volumes:
- - db_data:/var/lib/mysql
- restart: always
- environment:
- MYSQL_ROOT_PASSWORD: test
- MYSQL_DATABASE: test
- MYSQL_USER: test
- MYSQL_PASSWORD: test
- networks:
- - backend
- api:
- image: pix_api
- container_name: pix_api
- build:
- context: .
- dockerfile: ./Dockerfiles/api/Dockerfile.cpu
- depends_on:
- - media
- - db
- ports:
- - "8080:8080"
- networks:
- - backend
- networks:
- backend:
- hidden:
- volumes:
- db_data:
- php bin/console assets:install -e prod
- [DoctrineDBALExceptionConnectionException]
- An exception occured in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
- Installing assets as hard copies.
- --- ----------------------------- ----------------
- Bundle Method / Error
- --- ----------------------------- ----------------
- ✔ NelmioApiDocBundle copy
- -> web/bundles/nelmioapidoc
- ✔ AppBundle copy
- -> web/bundles/app
- --- ----------------------------- ----------------
- ! [NOTE] Some assets were installed via copy. If you make changes to these assets you have to run this command again.
- [OK] All assets were successfully installed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement