1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

use relative local path for volumes

This commit is contained in:
kev 2015-09-02 11:52:53 +08:00
parent 6a83245552
commit 3399f128c7
13 changed files with 22 additions and 22 deletions

@ -3,8 +3,8 @@ aria2:
ports: ports:
- "6800:6800" - "6800:6800"
volumes: volumes:
- "data:/home/aria2" - "./data:/home/aria2"
- "keys:/etc/aria2/keys" - "./keys:/etc/aria2/keys"
environment: environment:
- TOKEN=e6c3778f-6361-4ed0-b126-f2cf8fca06db - TOKEN=e6c3778f-6361-4ed0-b126-f2cf8fca06db
restart: always restart: always
@ -14,5 +14,5 @@ yaaw:
ports: ports:
- "8080:80" - "8080:80"
volumes: volumes:
- html:/usr/share/nginx/html - ./html:/usr/share/nginx/html
restart: always restart: always

@ -3,6 +3,6 @@ cowrie:
ports: ports:
- "2222:2222" - "2222:2222"
volumes: volumes:
- dl:/home/cowrie/dl - ./dl:/home/cowrie/dl
- log:/home/cowrie/log - ./log:/home/cowrie/log
restart: always restart: always

@ -3,5 +3,5 @@ dante:
ports: ports:
- "1080:1080" - "1080:1080"
volumes: volumes:
- sockd.conf:/etc/sockd.conf - ./sockd.conf:/etc/sockd.conf
restart: always restart: always

@ -3,6 +3,6 @@ ffserver:
ports: ports:
- "8090:8090" - "8090:8090"
volumes: volumes:
- ffserver.conf:/etc/ffserver.conf - ./ffserver.conf:/etc/ffserver.conf
- data:/data - ./data:/data
restart: always restart: always

@ -1,7 +1,7 @@
monit: monit:
image: vimagick/monit image: vimagick/monit
volumes: volumes:
- monit:/etc/monit - ./monit:/etc/monit
pid: host pid: host
net: host net: host
restart: always restart: always

@ -3,6 +3,6 @@ nginx:
ports: ports:
- "80:80" - "80:80"
volumes: volumes:
- nginx/nginx.conf:/etc/nginx/nginx.conf - ./nginx/nginx.conf:/etc/nginx/nginx.conf
- html:/usr/share/nginx/html - ./html:/usr/share/nginx/html
restart: always restart: always

@ -3,7 +3,7 @@ ftpd:
ports: ports:
- "21:21" - "21:21"
volumes: volumes:
- ftpuser:/home/ftpuser - ./ftpuser:/home/ftpuser
- pure-ftpd:/etc/pure-ftpd - ./pure-ftpd:/etc/pure-ftpd
privileged: true privileged: true
restart: always restart: always

@ -3,5 +3,5 @@ rsyncd:
ports: ports:
- "873:873" - "873:873"
volumes: volumes:
- data:/data - ./data:/data
restart: always restart: always

@ -6,6 +6,6 @@ samba:
- "139:139/tcp" - "139:139/tcp"
- "445:445/tcp" - "445:445/tcp"
volumes: volumes:
- smb.conf:/etc/samba/smb.conf - ./smb.conf:/etc/samba/smb.conf
- share:/share - ./share:/share
restart: always restart: always

@ -3,5 +3,5 @@ taskd:
ports: ports:
- "53589:53589" - "53589:53589"
volumes: volumes:
- taskd:/var/taskd - ./taskd:/var/taskd
restart: always restart: always

@ -4,7 +4,7 @@ tinc:
- "655:655/tcp" - "655:655/tcp"
- "655:655/udp" - "655:655/udp"
volumes: volumes:
- tinc:/etc/tinc - ./tinc:/etc/tinc
environment: environment:
- VERBOSE=2 - VERBOSE=2
cap_add: cap_add:

@ -1,6 +1,6 @@
urlwatch: urlwatch:
image: vimagick/urlwatch image: vimagick/urlwatch
volumes: volumes:
- urlwatch/Makefile:/root/.urlwatch/Makefile - ./urlwatch/Makefile:/root/.urlwatch/Makefile
- urlwatch/urls.yml:/root/.urlwatch/urls.yml - ./urlwatch/urls.yml:/root/.urlwatch/urls.yml
restart: always restart: always

@ -3,8 +3,8 @@ vault:
ports: ports:
- "8200:8200" - "8200:8200"
volumes: volumes:
- vault/vault.crt:/etc/vault/vault.crt - ./vault/vault.crt:/etc/vault/vault.crt
- vault/vault.key:/etc/vault/vault.key - ./vault/vault.key:/etc/vault/vault.key
cap_add: cap_add:
- IPC_LOCK - IPC_LOCK
restart: always restart: always