1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/tinc/docker-compose.yml
2019-06-06 08:36:40 +08:00

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