Skip to content

Commit a963d56

Browse files
committed
Update README
1 parent b2964fb commit a963d56

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -83,23 +83,24 @@ into it:
8383

8484
To generate a default config file and store it on your host system you need to
8585
build the docker image and then run `eggplant default_config` in the resulting
86-
container:
86+
container. To do that point `docker build` at the cloned repository and then
87+
run `docker run` using the resulting image hash:
8788

8889
$ docker build eggplant
8990
...
9091
Successfully built <hash>
9192
$ docker run -ti <hash> eggplant default_config > config.toml
9293

93-
You need to modify the config file so that it points to the locations under
94-
which you plan to mount the cache directory, data directory and music
94+
You need to modify the resulting config file so that it points to the locations
95+
under which you plan to mount the cache directory, data directory and music
9596
directory. I usually simply use `/cache`, `/data` and `/music`.
9697

97-
One possible way of easily mounting everything is by using Docker Compose. I
98+
One possible way of easily mounting everything is using Docker Compose. I
9899
usually place the `docker-compose.yaml` file in the same directory in which I
99100
cloned the eggplant repository:
100101

101102
$ ls
102-
docker-compose.yaml eggplant
103+
docker-compose.yaml eggplant config.toml
103104

104105
The example `docker-compose.yaml` file for Eggplant could look like this:
105106

@@ -109,7 +110,7 @@ The example `docker-compose.yaml` file for Eggplant could look like this:
109110
eggplant:
110111
build: ./eggplant
111112
volumes:
112-
- /media/data/music:/music:ro
113+
- /host/path/to/music/directory:/music:ro
113114
- /host/path/to/data/directory:/data
114115
- /host/path/to/cache/directory:/cache
115116
- /host/path/to/config.toml:/etc/eggplant/config.toml

0 commit comments

Comments
 (0)