26 lines
637 B
YAML
26 lines
637 B
YAML
---
|
|
|
|
version: '3.4'
|
|
services:
|
|
fastd:
|
|
build: ./fastd
|
|
env_file: envfile
|
|
privileged: true # required to create the tap device
|
|
sysctls:
|
|
net.ipv6.conf.all.disable_ipv6: 0 # enable ipv6 withn container
|
|
net.ipv6.conf.all.forwarding: 1
|
|
stop_grace_period: 0s
|
|
yanic:
|
|
build: ./yanic
|
|
network_mode: "service:fastd"
|
|
stop_grace_period: 10s
|
|
volumes:
|
|
- ./data/yanic:/data
|
|
meshviewer:
|
|
build: ./meshviewer
|
|
ports:
|
|
- 80:80
|
|
volumes:
|
|
- ./data/yanic/meshviewer:/usr/share/nginx/html/data
|
|
|
|
|