Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in docker setup #6

Closed
teaglebuilt opened this issue Sep 4, 2019 · 0 comments
Closed

Errors in docker setup #6

teaglebuilt opened this issue Sep 4, 2019 · 0 comments

Comments

@teaglebuilt
Copy link

So In the order docker compose file you are listing product db data in the order_db volume.

order_db:
    image: mysql:5.7.22
    volumes:
      - product-db-data:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=test
      - MYSQL_DATABASE=order
    restart: always

There is some issue with connecting to the databases when docker network is up and running.

if you run each byiteslf you will see this

user_db_1  | 2019-09-04T13:20:05.725272Z 2 [Note] Aborted connection 2 to db: 'user' user: 'root' host: '172.31.0.3' (Got an error reading communication packets)

Why have you created a user network, that is not mentioned in the frontend deploy compose file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant