make docker compose example more clear in readme
This commit is contained in:
24
README.md
24
README.md
@@ -34,16 +34,20 @@ $ 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
|
||||||
image: sentriz/gonic:latest
|
|
||||||
environment:
|
version: '3'
|
||||||
- TZ
|
services:
|
||||||
# optionally, see env vars below
|
gonic:
|
||||||
expose:
|
image: sentriz/gonic:latest
|
||||||
- 80
|
environment:
|
||||||
volumes:
|
- TZ
|
||||||
- ./data:/data
|
# optionally, see env vars below
|
||||||
- ${YOUR_MUSIC}:/music:ro
|
expose:
|
||||||
|
- 80
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
- /path/to/music:/music:ro
|
||||||
```
|
```
|
||||||
|
|
||||||
## configuration options
|
## configuration options
|
||||||
|
|||||||
Reference in New Issue
Block a user