Move mounted file from /var/html to /etc/html

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher 2017-10-18 10:55:59 +03:00
parent db27618f11
commit da42ced2db
2 changed files with 12 additions and 12 deletions

View File

@ -36,19 +36,19 @@ services:
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /var/run:/var/run
- /var/html:/var/html
- /etc/html:/var/html
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
- name: compose
image: linuxkitprojects/compose:0535e78608f57702745dfd56fbe78d28d237e469
binds:
- /var/run:/var/run
- /var/compose:/compose
- /etc/compose:/compose
files:
- path: var/html/a/index.html
- path: etc/html/a/index.html
source: html-a.html
- path: var/html/b/index.html
- path: etc/html/b/index.html
source: html-b.html
- path: var/compose/docker-compose.yml
- path: etc/compose/docker-compose.yml
source: docker-compose.yml
trust:
org:

View File

@ -36,23 +36,23 @@ services:
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /var/run:/var/run
- /var/html:/var/html
- /etc/html:/var/html
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
- name: compose
image: linuxkitprojects/compose:0535e78608f57702745dfd56fbe78d28d237e469
binds:
- /var/run:/var/run
- /var/compose:/compose
- /etc/compose:/compose
files:
- path: var/html/a/index.html
- path: etc/html/a/index.html
source: html-a.html
- path: var/html/b/index.html
- path: etc/html/b/index.html
source: html-b.html
- path: var/compose/docker-compose.yml
- path: etc/compose/docker-compose.yml
source: docker-compose.yml
- path: var/compose/images/nginx:alpine.tar
- path: etc/compose/images/nginx:alpine.tar
source: image-cache/nginx:alpine.tar
- path: var/compose/images/traefik.tar
- path: etc/compose/images/traefik.tar
source: image-cache/traefik.tar
trust:
org: