LBPUnion / ProjectLighthouse

Project Lighthouse is a clean-room, open-source custom server for LittleBigPlanet.
GNU Affero General Public License v3.0
211 stars 53 forks source link

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

Open m88youngling opened 5 months ago

m88youngling commented 5 months ago

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.

Zaprit commented 5 months ago

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.

m88youngling commented 5 months ago

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

Zaprit commented 5 months ago

I think I can make a pull request with it

Sounds like a plan