feature(docker-compose) add

This commit is contained in:
coderaiser 2016-03-09 07:58:18 -05:00
parent c4bd976c57
commit 5826f748a4
4 changed files with 51 additions and 1 deletions

View file

@ -3,4 +3,4 @@
manifest.yml
Dockerfile
.dockerignore
docker-compose.yml

20
HELP.md
View file

@ -422,6 +422,26 @@ docker run -v ~:/root -v /:/mnt/fs -it -p 8000:8000 coderaiser/cloudcmd
Config would be read from home directory, hosts root file system would be mount to `/mnt/fs`,
`8000` port would be exposed to hosts port.
Also you could use [docker compose](https://docs.docker.com/compose/ "Docker Compose") with `docker-compose.yml`:
```yml
version: '2'
services:
web:
ports:
- 8000:8000
volumes:
- ~:/root
- /:/mnt/fs
image: coderaiser/cloudcmd
```
When you create this file run:
```sh
docker-compose up
```
Version history
---------------
- *2016.03.07*, **[v5.2.1](//github.com/cloudcmd/archive/raw/master/cloudcmd-v5.2.1.tar.gz)**

View file

@ -96,6 +96,26 @@ docker run -v ~:/root -v /:/mnt/fs -it -p 8000:8000 coderaiser/cloudcmd
Config would be read from home directory, hosts root file system would be mount to `/mnt/fs`,
`8000` port would be exposed to hosts port.
Also you could use [docker compose](https://docs.docker.com/compose/ "Docker Compose") with `docker-compose.yml`:
```yml
version: '2'
services:
web:
ports:
- 8000:8000
volumes:
- ~:/root
- /:/mnt/fs
image: coderaiser/cloudcmd
```
When you create this file run:
```sh
docker-compose up
```
## License
MIT

10
docker-compose.yml Normal file
View file

@ -0,0 +1,10 @@
version: '2'
services:
web:
ports:
- 8000:8000
volumes:
- ~:/root
- /:/mnt/fs
image: coderaiser/cloudcmd