make docker compose example more clear in readme
This commit is contained in:
@@ -34,7 +34,11 @@ $ gonic -h # or see "configuration opt
|
|||||||
or else you can run in docker, available on dockerhub as `sentriz/gonic`
|
or else you can run in docker, available on dockerhub as `sentriz/gonic`
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
gonic:
|
# example docker-compose.yml
|
||||||
|
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
gonic:
|
||||||
image: sentriz/gonic:latest
|
image: sentriz/gonic:latest
|
||||||
environment:
|
environment:
|
||||||
- TZ
|
- TZ
|
||||||
@@ -43,7 +47,7 @@ gonic:
|
|||||||
- 80
|
- 80
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
- ${YOUR_MUSIC}:/music:ro
|
- /path/to/music:/music:ro
|
||||||
```
|
```
|
||||||
|
|
||||||
## configuration options
|
## configuration options
|
||||||
|
|||||||
Reference in New Issue
Block a user