lixonet-ee/docker-compose.yml

33 lines
641 B
YAML
Raw Normal View History

version: "3.7"
services:
tinc:
network_mode: host
build:
context: .
dockerfile: Dockerfile.tinc
ports:
- "655:655/tcp"
- "655:655/udp"
volumes:
- /etc/tinc/${NETNAME}:/etc/tinc/${NETNAME}
environment:
- RUNMODE=server
- NETNAME=${NETNAME}
cap_add:
- NET_ADMIN
2020-04-27 22:58:36 +00:00
devices:
- /dev/net/tun:/dev/net/tun
restart: always
bird:
network_mode: host
build:
context: .
dockerfile: Dockerfile.bird
ports:
- "179:179/tcp"
volumes:
- /etc/bird/${NETNAME}:/etc/bird/${NETNAME}
cap_add:
- NET_ADMIN
restart: always