change compose up command to avoid any confusing involving the pulling of the proxy image

This commit is contained in:
Markus Kahl
2024-09-02 14:00:47 +01:00
committed by Oliver Günther
parent 6b10106a0f
commit 63499105b9
2 changed files with 13 additions and 4 deletions

View File

@@ -21,15 +21,24 @@ cp .env.example .env
vim .env
```
Make sure you are using the latest version of the Docker images and launch the containers:
Next you start up the containers in the background while making sure to pull the latest versions of all used images.
```shell
docker compose pull
docker compose up -d
docker compose up -d --build --pull always
```
After a while, OpenProject should be up and running on <http://localhost:8080>.
### Troubleshooting
**pull access denied for openproject/proxy, repository does not exist or may require 'docker login': denied: requested access to the resource is denied**
If you encounter this after `docker compose up` this is merely a warning which can be ignored.
If this happens during `docker compose pull` this is simply a warning as well.
But it will result in the command's exit code to be a failure even though all images are pulled.
To prevent this you can add the `--ignore-buildable` option, running `docker compose pull --ignore-buildable`.
### HTTPS/SSL
By default OpenProject starts with the HTTPS option **enabled**, but it **does not** handle SSL termination itself. This

View File

@@ -51,7 +51,7 @@ services:
context: ./proxy
args:
APP_HOST: web
image: openproject/proxy:${TAG:-14-slim}
image: openproject/proxy
<<: *restart_policy
ports:
- "${PORT:-8080}:80"