GithubHelp home page GithubHelp logo

Cannot locate database about your_spotify HOT 3 OPEN

edenraf avatar edenraf commented on June 15, 2024
Cannot locate database

from your_spotify.

Comments (3)

javier-cr avatar javier-cr commented on June 15, 2024

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.

from your_spotify.

edenraf avatar edenraf commented on June 15, 2024

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!

from your_spotify.

Yooooomi avatar Yooooomi commented on June 15, 2024

Just run mongo:4.4 max if you're having avx issues.

from your_spotify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.