A simple todo application development environment using Docker and Docker Compose.
Support for Docker Compose version 3 (latest Docker Compose recommended)
More may come...
# Go to repository folder
docker-compose up
Go to http://localhost:8080/
when its finished loading.
To run in detached mode simply add the flag -d to the end of the command.
docker-compose up -d
Then kill the process with:
docker-compose kill
Same as Linux.
If you run into an error while running docker-compose up, open the settings of Docker for Windows (right click icon in taskbar and select settings). Then go to Network tab and select Fixed DNS Server with the adress 8.8.8.8 (should be prefilled already). Apply and wait for docker to restart. Try docker-compose up again.
You also require a password in order to share files with docker, for some reason Docker can't handle a user without a password so if you don't have one, you should add a password to your profile.
Needed?
Instruction to clean up containers and images.
WARNING Removes all containers, images and volumes!
docker rm $(docker ps -a -q)
docker rmi $(docker images -a -q)
docker volume rm $(docker volume ls -f dangling=true -q)