Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker compose error #2284

Open
whozwhat opened this issue Jul 15, 2024 · 4 comments
Open

docker compose error #2284

whozwhat opened this issue Jul 15, 2024 · 4 comments

Comments

@whozwhat
Copy link

whozwhat commented Jul 15, 2024

$ cd docker
$ cp .env.example .env
$ docker compose up
WARN[0000] The "MINIO_ROOT_USER" variable is not set. Defaulting to a blank string.
WARN[0000] The "MINIO_ROOT_PASSWORD" variable is not set. Defaulting to a blank string.
WARN[0000] The "MINIO_ROOT_USER" variable is not set. Defaulting to a blank string.
WARN[0000] The "MINIO_ROOT_PASSWORD" variable is not set. Defaulting to a blank string.
WARN[0000] The "MINIO_ROOT_USER" variable is not set. Defaulting to a blank string.
WARN[0000] The "MINIO_ROOT_PASSWORD" variable is not set. Defaulting to a blank string.
WARN[0000] The "MINIO_ROOT_PASSWORD" variable is not set. Defaulting to a blank string.
WARN[0000] The "MINIO_ROOT_USER" variable is not set. Defaulting to a blank string.
WARN[0000] The "NEXT_PUBLIC_BASE_PATH" variable is not set. Defaulting to a blank string.
WARN[0000] The "NEXT_PUBLIC_BASE_PATH" variable is not set. Defaulting to a blank string.
WARN[0000] The "MINIO_ROOT_USER" variable is not set. Defaulting to a blank string.
WARN[0000] The "MINIO_ROOT_PASSWORD" variable is not set. Defaulting to a blank string.
[+] Building 0.0s (0/1)
[+] Building 0.0s (0/1)
[+] Building 0.0s (0/1)
[+] Building 0.0s (0/1)
[+] Building 0.0s (0/1)
[+] Building 0.0s (0/1)
[+] Building 0.2s (2/3)
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2.19kB 0.0s
=> [internal] load build definition from dockerfile_worker 0.0s
=> => transferring dockerfile: 454B 0.0s
[+] Building 0.2s (2/3)
=> [internal] load .dockerignore 0.0s
=> => transferring context: 67B 0.0s
=> [internal] load build definition from dockerfile_supabase_migration_runner 0.0s
=> => transferring dockerfile: 371B 0.0s
[+] Building 0.2s (2/3)
=> [internal] load build definition from dockerfile_worker 0.0s
=> => transferring dockerfile: 454B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2.19kB 0.0s
[+] Building 0.2s (2/3)
=> [internal] load build definition from dockerfile_worker 0.0s
=> => transferring dockerfile: 454B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2.19kB 0.0s
[+] Building 0.2s (0/2)
=> [internal] load build definition from dockerfile 0.2s
=> => transferring dockerfile: 703B 0.0s
[+] Building 0.6s (2/3)
[+] Building 0.6s (2/3)
=> [internal] load build definition from dockerfile 0.5s
=> => transferring dockerfile: 703B 0.0s
[+] Building 0.6s (2/3)
=> [internal] load build definition from dockerfile_worker 0.5s
=> => transferring dockerfile: 454B 0.0s
[+] Building 1.7s (12/14)
=> [internal] load build definition from dockerfile 0.5s
=> => transferring dockerfile: 703B 0.0s
=> [internal] load .dockerignore 0.5s
=> => transferring context: 158B 0.0s
=> [internal] load metadata for docker.io/library/node:20 1.2s
=> [ 1/10] FROM docker.io/library/node:20@sha256:786005cf39792f7046bcd66491056c26d2dbcc669c072d1a1e4ef4fcdddd26eb 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [ 2/10] WORKDIR /usr/src/app/valhalla/jawn 0.0s
=> ERROR [ 3/10] COPY ./valhalla/jawn/package.json ./valhalla/jawn/yarn.lock ./ 0.0s
=> CACHED [ 4/10] RUN yarn install 0.0s
=> CACHED [ 5/10] WORKDIR /usr/src/app/shared 0.0s
[+] Building 1.7s (3/3) FINISHED
=> [internal] load build definition from dockerfile_worker 0.0s
=> => transferring dockerfile: 454B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2.19kB 0.0s
=> CANCELED [internal] load metadata for docker.io/library/node:18.11.0 1.7s
[+] Building 1.8s (3/3) FINISHED
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2.19kB 0.0s
=> [internal] load build definition from dockerfile_worker 0.0s
=> => transferring dockerfile: 454B 0.0s
=> CANCELED [internal] load metadata for docker.io/library/node:18.11.0 1.7s
failed to solve: failed to compute cache key: failed to calculate checksum of ref moby::mzjtg51h4dyv4myi1wh95ps0s: "/valhalla/jawn": not found

@kenlin1109
Copy link

The file structure described in docker-compose.yml is different from the file structure of the github directory.

  1. Copy the shared directory to the valhalla directory
  2. Create a valhalla folder in the valhalla directory and put /valhalla/jawn in it

Just execute docker compose up again

@lucacri
Copy link

lucacri commented Aug 15, 2024

I just spent an hour trying to figure out why my machine was misbehaving, and instead it was this? Sorry that's a big thing to not include in the docs in bold!

@iamthemulti
Copy link

ProTip: ENABLE_EMAIL_AUTOCONFIRM being set to false in the .env example is also an issue for any self hosters out there who don't have an email sending setup.

@Flopsky
Copy link

Flopsky commented Oct 27, 2024

2. valhalla

Terryfic

Why not not make a PR to add it in the repo ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants