1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-20 04:59:25 +02:00
This commit is contained in:
kev 2015-06-14 16:34:55 +08:00
parent ed2162e6b0
commit 3f7e53c431
2 changed files with 5 additions and 3 deletions

View File

@ -32,10 +32,11 @@ To use this image, you need to:
server: server:
image: vimagick/tinc image: vimagick/tinc
ports: ports:
- "655:655" - "655:655/tcp"
- "655:655/udp"
volumes: volumes:
- tinc:/etc/tinc - tinc:/etc/tinc
cap_add: cat_add:
- NET_ADMIN - NET_ADMIN
restart: always restart: always
``` ```

View File

@ -1,7 +1,8 @@
server: server:
image: vimagick/tinc image: vimagick/tinc
ports: ports:
- "655:655" - "655:655/tcp"
- "655:655/udp"
volumes: volumes:
- tinc:/etc/tinc - tinc:/etc/tinc
cat_add: cat_add: