mirror of
https://github.com/opf/openproject-deploy.git
synced 2026-05-21 05:52:47 +00:00
50 lines
1.1 KiB
Markdown
50 lines
1.1 KiB
Markdown
# OpenProject installation with Docker Compose
|
|
|
|
## Install
|
|
|
|
Clone this repository:
|
|
|
|
git clone https://github.com/opf/openproject-deploy --depth=1 --branch=stable/11 openproject
|
|
|
|
Go to the compose folder:
|
|
|
|
cd openproject/compose
|
|
|
|
Make sure you are using the latest version of the Docker images:
|
|
|
|
docker-compose pull
|
|
|
|
Launch the containers:
|
|
|
|
docker-compose up -d
|
|
|
|
After a while, OpenProject should be up and running on <http://localhost:8080>.
|
|
|
|
## Configuration
|
|
|
|
If you want to specify a different port, you can do so with:
|
|
|
|
PORT=4000 docker-compose up -d
|
|
|
|
If you want to specify a custom tag for the OpenProject docker image, you can do so with:
|
|
|
|
TAG=my-docker-tag docker-compose up -d
|
|
|
|
You can also set those variables into an `.env` file in your current working
|
|
directory, and Docker Compose will pick it up automatically. See `.env.example`
|
|
for details.
|
|
|
|
## Uninstall
|
|
|
|
You can remove the stack with:
|
|
|
|
docker-compose down
|
|
|
|
## Troubleshooting
|
|
|
|
You can look at the logs with:
|
|
|
|
docker-compose logs -n 1000
|
|
|
|
For the complete documentation, please refer to https://docs.openproject.org/installation-and-operations/.
|