@ -1,8 +1,21 @@
# Docker
## Development
## Try it out
```bash
wget https://github.com/chrislusf/seaweedfs/blob/master/docker/docker-compose.yml
docker-compose -f docker-compose.yml up
```
cd $GOPATH/src/github.com/chrislusf/seaweedfs/docker
docker build - < Dockerfile.go_build
@ -29,7 +29,8 @@ case "$1" in
;;
'filer')
ARGS="-ip `hostname -i`"
exec mkdir /data/filerdb
ARGS="-ip `hostname -i` "
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
fi
@ -1,3 +1,3 @@
[leveldb]
enabled = true
dir = "."
dir = "/data/filerdb"