Content
Error trying to run OpenProject "one container per proccess" docker installation
Added by seba damus over 4 years ago
Hi, I am new with OpenProject... I want to give it a try with members of my office.
I have a Ubuntu 18.04 installed and tried to get OpenProject to run with Docker but cant. I am also new with docker, so I might be missing something.
Here is what I did:
I followed steps here: https://docs.openproject.org/installation-and-operations/installation/docker/
Install Docker with https://docs.docker.com/install, and could do the "Hello World" test, and also could get it to run with all-in-one containter, but would like it to run separately as it is recommended in the steps.
So, One container per process (recommended) tells to git clone first (there is no problem)
git clone --depth=1 --branch=stable/10 https://github.com/opf/openproject
But after runing: docker-compose up -d, inside the git repo... I get:
ERROR: Invalid interpolation format for "environment" option in service "cron": "OPENPROJECT_RAILS__RELATIVE__URL__ROOT=${OPENPROJECT_RAILS__RELATIVE__URL__ROOT:-}"
Dont know how to fix it, can you help and give some light?
Thanks!
Replies (4)
Hello, can you make sure you have installed the latest version of Docker Compose (https://docs.docker.com/compose/install/) ?
Thanks,
Cyril
Hi Cyril, thanks! I installed docker with official docker ubuntu repos, and it installed these versions:
docker-compose version 1.17.1, build unknown
Docker version 19.03.9, build 9d988398e7
That Docker Compose version is very ancient (2017 - https://docs.docker.com/compose/release-notes/)
Can you upgrade Docker Compose using the URL I provided earlier?
Thanks Cyril! I could make it work... seems official docker repo installs an old composer (also official ubuntu repo) so I could install following your link to docker-composer installation steps :-)
Thanks!!!