Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

Personally, I didn't value the trade off of "reccomended" vs the complexity of this setup, but I did get it going.

Clone Branch:

git clone --depth=1 --branch=stable/10 https://github.com/opf/openproject
cd openproject

Modifications?":

#Port
sed -i -e 's/8080/6000/g' docker-compose.yml

#DB PWD
sed -i -e 's/p4ssw0rd/openproject/g' docker-compose.yml

#DB URL
#postgres://postgres:openproject@db/openproject
sed -i -e 's|postgres://postgres:openproject@db/openproject|postgres://openproject:openproject@192.168.1.1:5432/openproject|g' docker-compose.yml
cat docker-compose.yml | grep openproject

Install Docker-Compose latest (I did have issues with an apt version of docker-compose)

#https://github.com/docker/compose/releases/latest

cat << 'EOF' >docker_compose_latest.sh
#!/bin/bash
VNUM="$(curl https://github.com/docker/compose/releases/latest | egrep -o "([0-9]{1,}\.)+[0-9]{1,}")"
curl -L "https://github.com/docker/compose/releases/download/$VNUM/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/
docker-compose --version
echo "Latest --version : $VNUM"
EOF
chmod +x docker_compose_latest.sh
./docker_compose_latest.sh

Commands:

docker-compose up (without -d adds verbosity, use for testing)
docker-compose up -d

docker-compose down

See Reverse Proxy and 422 Cross Site Forgery Error Pages

  • No labels