mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2024-12-14 18:40:41 +01:00
43 lines
788 B
YAML
43 lines
788 B
YAML
version: '3'
|
|
networks:
|
|
net-1:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 10.89.0.0/17
|
|
services:
|
|
wg-1:
|
|
image: wg-mesh-base:latest
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
tty: true
|
|
networks:
|
|
- net-1
|
|
volumes:
|
|
- ./shared:/shared
|
|
command: "wgmeshd /shared/configuration.yaml"
|
|
wg-2:
|
|
image: wg-mesh-base:latest
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
tty: true
|
|
networks:
|
|
- net-1
|
|
volumes:
|
|
- ./shared:/shared
|
|
command: "wgmeshd /shared/configuration.yaml"
|
|
wg-3:
|
|
image: wg-mesh-base:latest
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
tty: true
|
|
networks:
|
|
- net-1
|
|
volumes:
|
|
- ./shared:/shared
|
|
command: "wgmeshd /shared/configuration.yaml"
|