"Base table or view not found" error in docker container
<p>I have Laravel app with mysql db. I'm trying to run it in docker using this docker-compose.yml:</p>

<pre><code>load_balancer:
image: tutum/haproxy
links:
    - web
ports:
    - "80:80"

cache:
    image: redis

web:
    image: andrewmclagan/nginx-hhvm
    links:
        - db
        - cache
    volumes: 
        - ./:/var/www
    environment:
        - APP_ENV=local
        - DB_DATABASE=regappbase
        - DB_PASSWORD=Q1w2e3r4t5
        - DB_HOST=db
        - VIRTUAL_HOST=laravel.local

db:
    image: mysql
    environment:
        MYSQL_ROOT_PASSWORD: Q1w2e3r4t5
        MYSQL_DATABASE: regappbase
</code></pre>

<p>On my host database has three tables:</p>

<ul>
<li>migrations </li>
<li>password_resets</li>
<li>users</li>
</ul>

<p>When I run the app and try refer to database, I have an error like this:</p>

<blockquote>
  <p>QueryException in Connection.php line 715: SQLSTATE[42S02]: Base table or view not found: Table 'regappbase.users' doesn't exist (SQL: select * from users where email=(e-mail@ghhjghj77))</p>
</blockquote>

<p>How can I create database regappbase? I don't need to store data, only schema</p>