Create tinc
This commit is contained in:
parent
818d592df2
commit
2c99c6731d
17
docker/services/tinc
Normal file
17
docker/services/tinc
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.tinc
|
||||||
|
volumes:
|
||||||
|
- /etc/tinc/${netname}:/etc/tinc/${netname}
|
||||||
|
- /usr/bin/docker-proxy:/usr/bin/docker-proxy
|
||||||
|
environment:
|
||||||
|
- RUNMODE=server
|
||||||
|
- NETNAME=${netname}
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
devices:
|
||||||
|
- /dev/net/tun:/dev/net/tun
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
internal:
|
||||||
|
ipv4_address: ${internal_address}
|
Loading…
x
Reference in New Issue
Block a user