mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
18 lines
311 B
YAML
18 lines
311 B
YAML
tinc:
|
|
image: vimagick/tinc
|
|
ports:
|
|
- "655:655/tcp"
|
|
- "655:655/udp"
|
|
volumes:
|
|
- ./tinc:/etc/tinc
|
|
environment:
|
|
- IP_ADDR=1.2.3.4
|
|
- ADDRESS=10.20.30.1
|
|
- NETMASK=255.255.255.0
|
|
- NETWORK=10.20.30.0/24
|
|
- RUNMODE=server
|
|
cap_add:
|
|
- NET_ADMIN
|
|
dns: 8.8.8.8
|
|
restart: always
|