Browse Source

added .env

Toastie 4 years ago
parent
commit
b2a459b1ea
5 changed files with 13 additions and 5 deletions
  1. 3 0
      droppy/.env
  2. 2 0
      droppy/.gitignore
  3. 5 1
      droppy/README.md
  4. 0 1
      droppy/data/config/.gitignore
  5. 3 3
      droppy/docker-compose.yml

+ 3 - 0
droppy/.env

@@ -0,0 +1,3 @@
+data=../mopidy/data/mopidy/
+uid=100
+gid=1000

+ 2 - 0
droppy/.gitignore

@@ -0,0 +1,2 @@
+data/config/droppy.pid
+data/config/db.json

+ 5 - 1
droppy/README.md

@@ -1 +1,5 @@
-https://github.com/silverwind/droppy
+Droppy on Github: https://github.com/silverwind/droppy
+
+### Get started
+1. Update your data dir, uid and gid in `.env`
+2. `docker-compose up -d`

+ 0 - 1
droppy/data/config/.gitignore

@@ -1 +0,0 @@
-db.json

+ 3 - 3
droppy/docker-compose.yml

@@ -7,8 +7,8 @@ services:
       - '8989:8989'
       - '8989:8989'
     volumes:
     volumes:
       - ./data/config:/config
       - ./data/config:/config
-      - ./data:/files
+      - ${data}:/files
     environment:
     environment:
-      - uid:100
-      - gid:1000
+      - uid:${uid}
+      - gid:${gid}
     restart: unless-stopped
     restart: unless-stopped