-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Cannot locate database #327
Comments
Try this instead: version: "3"
services:
server:
image: yooooomi/your_spotify_server
restart: always
ports:
- "8085:8080"
links:
- mongo
depends_on:
- mongo
environment:
- API_ENDPOINT=http://localhost:8085 # This MUST be included as a valid URL in the spotify dashboard
- CLIENT_ENDPOINT=http://localhost:3002
- SPOTIFY_PUBLIC=__public__
- SPOTIFY_SECRET=__secret__
- CORS=http://localhost:3000,http://localhost:3001 # all if you want to allow every origin
mongo:
container_name: mongo
image: mongo:6
volumes:
- your_spotify_db:/data/db
web:
image: yooooomi/your_spotify_client
restart: always
ports:
- "3002:3000"
environment:
- API_ENDPOINT=http://localhost:8085
volumes:
your_spotify_db: Note the addition of "your_spotify_db" at the end of the file there, and that I removed the "./" within the mongo block. If this doesn't work, you honestly may want to try the linuxserver version of your_spotify instead. The web and server containers are bundled into one and I found it a lot easier to work with. |
That allowed me to build and run the project! Now I just need to fix my mongo AVX support issue. Thanks! |
Just run mongo:4.4 max if you're having avx issues. |
When I try to install your_spotify in docker using an XML file, I get:
Error response from daemon: Bind mount failed: /volume/docker/spotify/your_spotify_db does not exists
I am not sure what I am doing wrong, and I am pretty sure my config is correct:
of course, public and secret have been redacted
The text was updated successfully, but these errors were encountered: