Closed viriatusX closed 1 year ago
Hey,
Can you please provide a bit more details, like what command you ran, whether you made changes to .shelf-back.env
, docker-compose.yml
, etc..
Hey,
Can you please provide a bit more details, like what command you ran, whether you made changes to
.shelf-back.env
,docker-compose.yml
, etc..
Hi! I am running in Unraid My docker-compose.yml
services: shelf-back: image: fdooch/shelf-back:0.1.0-alpha.12 env_file:
edgedb
shelf-worker: image: fdooch/shelf-back:0.1.0-alpha.12 volumes:
redis
shelf-front: image: fdooch/shelf-front:0.1.0-alpha.13 env_file:
shelf-back
edgedb: image: edgedb/edgedb:2.5 environment:
"5656:5656"
redis: image: redis:alpine ports:
volumes: dbvolume: {}
My .shelf-back.env
And all containers are lifted correctly but the shelf-worker show the error list above.
Oh, it seems shelf-worker
config missing the env_file
attribute. All you need to do is to add it (like in shelf-back
):
env_file:
- ./.shelf-back.env
Please, let me know if that solves the issue!
Oh, it seems
shelf-worker
config missing theenv_file
attribute. All you need to do is to add it (like inshelf-back
):env_file: - ./.shelf-back.env
Please, let me know if that solves the issue!
Thanks for your quickly response. Now, the application starts but I seems not "connect" correctly with DB. I can't access neither create new account.
The logs shows:
To be honest I don't know what's wrong with EdgeDB container. I know some of the issue can be related to the architecture. Are you running on x86_64 or arm64 (raspberry pi)? If you're running on arm64, then most likely that is the case.
Alternatively, you can try to remove containers and related volumes and create everything from scratch. Sorry for such inconvenience
To be honest I don't know what's wrong with EdgeDB container. I know some of the issue can be related to the architecture. Are you running on x86_64 or arm64 (raspberry pi)? If you're running on arm64, then most likely that is the case.
Alternatively, you can try to remove containers and related volumes and create everything from scratch. Sorry for such inconvenience
Thanks for your reply. I'm running on x86 (AMD64) platform, not ARM. When I try to login it, the Chrome shows this error 405: It seems that it is not edgedb's error. In CORS I have specified "*" and in API_BASE_URL=http://192.168.1.165:6778 (6778 in my case since port 8000 is busy).
Sorry that it took me a bit long to reply.
Based on docker-compose you've provided, I think the API_BASE_URL
should be set to http://192.168.1.165:6777
. The port 6778
points to the frontend server, hence the 405 error code. But the 6777
actually points to the backend
Solved!!! Thanks!!!!!
Hi, I am trying to get the docker up, and everything is correct, but the Worker is NOT. It shows this error. I have specified a value in the .env file.
Thanks!