quirrel-dev / demo.quirrel.dev

The Quirrel Demo Page
https://demo.quirrel.dev
8 stars 0 forks source link

docker-compose fail in local development #1

Closed parweb closed 4 years ago

parweb commented 4 years ago

When I try to setup quirrel in local throught docker-compose

version: '3.7'

services:
  quirrel:
    image: docker.pkg.github.com/quirrel-dev/quirrel/quirrel
    environment:
      REDIS_URL: redis://redis
    ports:
      - '9181:9181'

  redis:
    image: redis
docker-compose up

I get an error, asking me a password

Pulling quirrel (docker.pkg.github.com/quirrel-dev/quirrel/quirrel:)...
ERROR: Get https://docker.pkg.github.com/v2/quirrel-dev/quirrel/quirrel/manifests/latest: no basic auth credentials
Skn0tt commented 4 years ago

Huh, that's weird. I'll try it out on a fresh machine, give me a minute.

Skn0tt commented 4 years ago

Alright, the problem was that the "old" Docker container registry isn't as public as it says. I moved it to the "new" GitHub Container Registry.

To fix your error, replace docker.pkg.github.com/quirrel-dev/quirrel/quirrel with ghcr.io/quirrel-dev/quirrel in your docker-compose.yml. That should work ☺️

parweb commented 4 years ago

it's working