first of all install Docker and docker-compose
create a directory where store all the container (for example mkdir docker) e move inside.
Now if you don’t have the git install it (apt install git)
git clone https://github.com/opf/openproject-deploy --depth=1 --branch=stable/12 openproject
cd openproject/compose/
su
docker-compose pull
cp .env.example .env
nano .env
## # All environment variables defined here will only apply if you pass them # to the OpenProject container in docker-compose.yml under x-op-app -> environment. # For the examples here this is already the case. # # Please refer to our documentation to see all possible variables: # https://www.openproject.org/docs/installation-and-operations/configuration/environment/ # TAG=12 #HTTPS=false OPENPROJECT_HOST__NAME=openproject.erbc-group.it PORT=8080 #OPENPROJECT_RAILS__RELATIVE__URL__ROOT= #IMAP_ENABLED=false #DATABASE_URL=postgres://postgres:p4ssw0rd@db/openproject?pool=20&encoding=unicode&reconnect=true #RAILS_MIN_THREADS=4 #RAILS_MAX_THREADS=16 #PGDATA="./postgresql/data" #OPDATA="./openproject/assets"
CTRL+X to close and press Y to confirm the modifications
now to run the container run the following command
OPENPROJECT_HTTPS=false docker-compose up -d