-
Notifications
You must be signed in to change notification settings - Fork 23
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
Prisma errors on docker compose up
from fresh install
#702
Comments
docker compose up
docker compose up
from fresh install
I PR'd some changes to the docker files recently, so it's likely something related. I've found an issue open in Prisma that looks similar, although it's described as intermittent.
Some things that might be helpful to try:
If all else fails, it should be possible to just run the API outside of the container by setting the following in
...and then |
@fennifith Hey, thanks for taking a look. I’ll try your suggestions and let you know what happens. |
Yeah, getting the same error with this, whether or not lines 1 and 6 are commented out.
It's failing on If I just run
|
Struggling on this part too.
So I tried I noticed But when I tried regular Though, even after all that, I can't actually login on the dev environment. I get a 404 error: Sidenote: It's only supposed to seed users? Not artists? |
Seeing This should match the It's also noteworthy that visiting As for |
Oops, egg on my face 😅 Yeah, I hadn't copied the
Yep! I just tried it with the |
We could add the 127.0.0.1 route to the client seeding script (and if we don't get to that @craigostrin could add it in the DB as a workaround for now) |
I tried @jackie's fix from Discord and it worked!
Then I re-started with I'm not experienced enough with Docker to say if this should be a general fix or just a README update. |
@olive20xx do you want to try putting in a branch & pr and I'll pull it down and see what it does? I think the DOCKER_DEFAULT_PLATFORM thing would be a readme thing, under the #troubleshooting on mac section |
Hi there, would love to contribute but I'm running into errors with Docker while trying to get the project set up locally. I'm on a Macbook Pro M2, so I tried the Apple Chip Errors solution just in case, but
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker compose up
just gave me a different error.Full error logs are included at the bottom of this post.
Steps from a fresh install:
(Rosetta 2 is installed, and
Use Rosetta for x86_64/amd64 emulation on Apple Silicon
is enabled in Docker Desktop.)git clone [email protected]:funmusicplace/mirlo.git
yarn -v
to check I'm on Yarn 4 ✅cp .env.example .env
yarn install
docker compose up
(see error log below)DOCKER_DEFAULT_PLATFORM=linux/amd64 docker compose up
(see error log below)Hopefully I'm just making a dumb mistake somewhere? Let me know if you need more info
Btw,
docker compose watch
seems fine but doesn't seem to run anything onlocalhost:3000
? Is that intentional? Sorry, been a minute since I've had to think in DockerError Logs
docker compose up
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker compose up
The text was updated successfully, but these errors were encountered: