1
0
mirror of https://github.com/rlister/dockerfiles.git synced 2025-12-13 01:36:20 +00:00

Update README.md

I think this should be a -v, so that a local /data directory is mounted to /app/data in the container
This commit is contained in:
Daniel Watrous
2017-03-07 10:51:41 -06:00
committed by GitHub
parent 03fc6d13c3
commit 3bd98bbbb1

View File

@@ -14,7 +14,7 @@ See `app.sh` for variable names.
Writing pastes to a mounted local volume:
```
docker run --name hastebin -d -p 7777:7777 -e STORAGE_TYPE=file -e /data:/app/data rlister/hastebin
docker run --name hastebin -d -p 7777:7777 -e STORAGE_TYPE=file -v /data:/app/data rlister/hastebin
```
Writing pastes to redis: