Wellenline / auddly-server

Simple self-hosted music streaming server
https://auddly.app
MIT License
301 stars 13 forks source link

ERROR: Cannot locate specified Dockerfile: Dockerfile #22

Open a20eac1d opened 4 years ago

a20eac1d commented 4 years ago

I am using the latest "Sample docker-compose.yml" from your Github page and get this error when I try to "docker-compose up".

ERROR: Cannot locate specified Dockerfile: Dockerfile

Docker version 19.03.8, build afacb8b7f0

docker-compose version 1.17.1, build unknown

version: "3" services: app: image: wellenline/waveline-server:2.3.0 container_name: waveline-api restart: always build: ./ environment:

  • MONGO_URL=mongodb://mongouser126735176235:mongopass757645236534@mongodb/waveline?authSource=admin
  • MUSIC_PATH=/music
  • TRANSCODE_PATH=/transcoded-audio
  • ART_PATH=/album-art
  • SPOTIFY_ID=YOUR_SPOTIFY_ID
  • SPOTIFY_SECRET=YOUR_SPOTIFY_SECRET
  • AUTH_ENABLED=true
  • API_KEY=1236128732347656512673
  • PORT=5000
  • HOST=http://0.0.0.0:5000 volumes:
  • /home/waveline/music:/music # Mount your music inside docker
  • /home/waveline/covers:/album-art # Mount album art cache inside docker
  • /home/waveline/transcodes:/transcoded-audio # Mount transcoded audio cache inside docker ports:
  • 5000:5000 links:
  • mongodb depends_on:
  • mongodb mongodb: image: mongo:latest container_name: "mongodb" environment:
  • MONGO_DATA_DIR=/data
  • MONGO_LOG_DIR=/dev/null
  • MONGO_INITDB_ROOT_USERNAME=mongouser126735176235
  • MONGO_INITDB_ROOT_PASSWORD=mongopass757645236534 volumes:
  • /home/waveline/mongo/data:/data ports:
  • 27018:27017 command: mongod --auth --logpath=/dev/null
xsmaze commented 4 years ago

Since you're using the Docker image, you can remove the build: ./ line, as you do not need to build the image from source.

nebula-it commented 4 years ago

@a20eac1d it seems like you did not cloned the git repo before creating your docker-compose file. Run git clone https://github.com/wellenline/waveline-server.git then create the docker-compose.yml inside that folder and run docker-compose up The waveline docker images are not in docker hub yet, so thats why you can to clone repo and build the image locally.

xsmaze commented 4 years ago

@a20eac1d it seems like you did not cloned the git repo before creating your docker-compose file. Run git clone https://github.com/wellenline/waveline-server.git then create the docker-compose.yml inside that folder and run docker-compose up The waveline docker images are not in docker hub yet, so thats why you can to clone repo and build the image locally.

As stated in #19 there is an official image available at https://hub.docker.com/r/wellenline/waveline-server

nebula-it commented 4 years ago

Ah my bad, was relying on old info. Thank you for correcting me @EkamBajw. Now that I reviewed @a20eac1d's docker-compose file, your proposed solution should work.