your_spotify
your_spotify copied to clipboard
Cannot locate database
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:
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
of course, public and secret have been redacted