2015-06-22 21:57:34 +08:00
|
|
|
tinc:
|
2015-06-14 11:06:12 +08:00
|
|
|
image: vimagick/tinc
|
|
|
|
ports:
|
2015-06-14 16:34:55 +08:00
|
|
|
- "655:655/tcp"
|
|
|
|
- "655:655/udp"
|
2015-06-14 11:06:12 +08:00
|
|
|
volumes:
|
2015-09-02 11:52:53 +08:00
|
|
|
- ./tinc:/etc/tinc
|
2015-06-22 21:57:34 +08:00
|
|
|
environment:
|
2016-07-08 02:07:37 +08:00
|
|
|
- IP_ADDR=1.2.3.4
|
2019-06-06 08:36:40 +08:00
|
|
|
- ADDRESS=10.20.30.1
|
|
|
|
- NETMASK=255.255.255.0
|
|
|
|
- NETWORK=10.20.30.0/24
|
|
|
|
- RUNMODE=server
|
2015-06-14 22:15:54 +08:00
|
|
|
cap_add:
|
2015-06-14 15:15:04 +08:00
|
|
|
- NET_ADMIN
|
2015-10-25 23:21:06 +08:00
|
|
|
dns: 8.8.8.8
|
2015-06-14 11:06:12 +08:00
|
|
|
restart: always
|