This guide describes how to use docker and docker-compose in order to start Billrun application.
You can find the docker sources under BillRun project docker/billrun-docker.
From within the docker directory you can execute the run_docker.sh
script
cd docker/billrun-docker/
./run_docker.sh
Create the log file in order to overcome permission issue and crash
DEBUG_LOG_DIR=../../logs/container
mkdir ${DEBUG_LOG_DIR} -p
touch ${DEBUG_LOG_DIR}/debug.log && chmod 666 ${DEBUG_LOG_DIR}/debug.log
Build the image
docker-compose -f docker-compose-php73.yml build
Start the docker-compose stack
docker-compose -f docker-compose-php73.yml up
Stop the stack and delete docker created volumes
docker-compose -f docker-compose-php73.yml down -v