ProjectLighthouse icon indicating copy to clipboard operation
ProjectLighthouse copied to clipboard

docker-compose.yml doesn't use pre-built images

Open m88youngling opened this issue 1 year ago • 3 comments

Describe the problem Attempting to use the docker-compose.yml file results in the following error,

Pulling api (lighthouse:latest)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN]y
Pulling api (lighthouse:latest)...
ERROR: pull access denied for lighthouse, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

To Reproduce (if applicable) Steps to reproduce the behavior:

  1. With a docker-compose.yml file, run sudo docker-compose up -d in the same directory as the file.
  2. When it comes time to download the image for the Lighthouse API, the above error occurs.

Expected behavior The API should be available and should download and install.

Resolving this issue will make it easier for others to run their own Project Lighthouse instance with docker-compose.

m88youngling avatar Jun 13 '24 00:06 m88youngling

In this case I think the problem is that you're just trying to run the docker-compose file by itself, which won't work as the docker-compose file doesn't reference our prebuilt images, this can be fixed on your end by using the compose file in the lighthouse sources as opposed to by itself.

However the docker compose file by default should probably reference the ghcr images.

Zaprit avatar Jun 15 '24 23:06 Zaprit

Yes, Slendy suggested that I do something along those lines. I have a corrected docker-compose.yml on my fork. I think I can make a pull request with it

m88youngling avatar Jun 16 '24 00:06 m88youngling

I think I can make a pull request with it

Sounds like a plan

Zaprit avatar Jun 16 '24 00:06 Zaprit