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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user