From 63499105b9fb1d453e98dd7d095d9b2ff5cb02f9 Mon Sep 17 00:00:00 2001 From: Markus Kahl Date: Mon, 2 Sep 2024 14:00:47 +0100 Subject: [PATCH] change compose up command to avoid any confusing involving the pulling of the proxy image --- compose/README.md | 15 ++++++++++++--- compose/docker-compose.yml | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/compose/README.md b/compose/README.md index 734d2ab..f9f44d7 100644 --- a/compose/README.md +++ b/compose/README.md @@ -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 . +### 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 diff --git a/compose/docker-compose.yml b/compose/docker-compose.yml index 98c98a4..5b92e40 100644 --- a/compose/docker-compose.yml +++ b/compose/docker-compose.yml @@ -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"