docker

Chris Lu 2019-04-17 01:01:15 -07:00
parent 67e8233b9e
commit 30d4fcdb3e

@ -84,13 +84,8 @@ docker run -p 8080:8080 -p 18080:18080 --name volume --link master chrislusf/sea
But with Compose it's easiest.
To startup just run:
```
docker-compose -f docker/docker-compose.yml up
docker-compose -f docker/seaweedfs-compose.yml -p seaweedfs up
```
And to scale:
```
docker-compose -f docker/docker-compose.yml scale volume=2
```
Remember that if multiple containers for volume are created on a single host, the port will clash.
## Using SeaweedFS in docker