This project is a demo on how to change the acs, share, prostgres and proxy ports in dockerized environment
docker volume create <volumeName>
docker volume rm -f <volumeName>
- To build the images, This command will ignore any images which are already built and no changes to DockerFile has been identified. It will use cache.
docker-compose -f ./docker-compose.yml build
- To build the images with no cache. It will force rebuild
docker-compose -f ./docker-compose.yml build --no-cache
docker-compose -f ./docker-compose.yml up
docker-compose -f ./docker-compose.yml up --build
docker-compose -f ./docker-compose.yml down
docker-compose -f ./docker-compose.yml logs -f
- For Windows:
.\launcher.bat build
.\launcher.bat start
.\launcher.bat stop
.\launcher.bat purge
.\launcher.bat tail
- For Linux:
.\launcher.sh build
.\launcher.sh start
.\launcher.sh stop
.\launcher.sh purge
.\launcher.sh tail
For docker-compose version 3.x you can use launcher-dcv3.bat/launcher-dcv3.sh script to build, start, stop, purge volumes and tail logs:
- For Windows:
.\launcher-dcv3.bat build
.\launcher-dcv3.bat start
.\launcher-dcv3.bat stop
.\launcher-dcv3.bat purge
.\launcher-dcv3.bat tail
- For Linux:
.\launcher-dcv3.sh build
.\launcher-dcv3.sh start
.\launcher-dcv3.sh stop
.\launcher-dcv3.sh purge
.\launcher-dcv3.sh tail
For more commands visit this cheat sheet: