your_spotify icon indicating copy to clipboard operation
your_spotify copied to clipboard

Cannot locate database

Open edenraf opened this issue 1 year ago • 3 comments

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

edenraf avatar Dec 26 '23 18:12 edenraf