php_network_getaddresses: getaddrinfo failed error in Docker’s adminer

Hello!

I have problem with access to adminer in my docker container with laravel 5/mysql app. I got error :

 SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed 
Code (markup):

In my docker-compose.yml :

 version: '3'  services:  votes_app: build: context: ./web dockerfile: Dockerfile.yml  container_name: votes_app_container environment: - APACHE_RUN_USER=#1000 volumes: - $  {APP_PATH_HOST}:$  {APP_PTH_CONTAINER} ports: - 8081:80 working_dir: $  {APP_PTH_CONTAINER}   db:...
Code (markup):

php_network_getaddresses: getaddrinfo failed error in Docker's adminer