Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Docker for Windows 10 Setup

Ian Barkley-Yeung edited this page Oct 8, 2019 · 1 revision

Docker / Heart

You'll need Windows Professional. Windows Home only supports Docker Toolbox for Windows, which isn't compatible with Heart.

Use correct ports

To check your ports, try: netstat -a -b

If it doesn't list any of the ports for Heart development, you may need to add the following ports into your firewall. See instructions here

3000 //client
4000 //API
8080 //pgadmin
5432 //postgres

For Windows computers, when opening any of the local environments for the docker containers, need to use 192.168.99.100 instead of localhost. Read more here.

For example: localhost:4000 becomes 192.168.99.100:4000

Workflow for client container

Changes made with vscode npm start wont be seen in the docker version unless you restart it. docker restart heart_node_client

Common Docker Commands

docker-compose build docker-compose up

Gracefully stops the containers docker-compose stop

Actually destroys the containers docker-compose down

Checking status of containers docker ps