mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
docker
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.
|
But with Compose it's easiest.
|
||||||
To startup just run:
|
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
|
## Using SeaweedFS in docker
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue