delete all containers :

docker rm -f $(docker ps -a -q)

delete all volumes : 

docker volume rm $(docker volume ls -q)

---to delete images : --
docker image rm  $(docker images -a -q )

install docker-compose ubuntu 20 : 
sudo curl -L "https://github.com/docker/compose/releases/download/1.26.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

docker-compose --version

install open project : 
https://www.openproject.org/docs/installation-and-operations/installation/docker/

in docker compose file there is a parameter named : host_name 
change it to the domain which you want to server open project :)
if you got this error : 

ERROR: Invalid interpolation format for "environment" option in service "web": "${OPENPROJECT_RAILS__RELATIVE__URL__ROOT:-}"

change docker-compose to docker compose in the command .

Leave a Reply

Your email address will not be published. Required fields are marked *