-
-
Notifications
You must be signed in to change notification settings - Fork 39
Docker for Windows 10 Setup
Download Docker for Windows
You'll need Windows Professional. Windows Home only supports Docker Toolbox for Windows, which isn't compatible with Heart.
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
Changes made with vscode npm start wont be seen in the docker version unless you restart it.
docker restart heart_node_client
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