smegmesh/examples/simple/docker-compose.yaml

44 lines
873 B
YAML
Raw Normal View History

2023-11-08 10:19:24 +01:00
version: '3'
networks:
net-1:
services:
wg-1:
2024-01-05 19:22:05 +01:00
image: localhost/smegmesh-base:latest
2023-11-08 10:19:24 +01:00
cap_add:
- NET_ADMIN
- NET_RAW
tty: true
networks:
- net-1
volumes:
- ./shared:/shared
2024-01-05 19:22:05 +01:00
command: "smegd /shared/configuration.yaml"
sysctls:
- net.ipv6.conf.all.forwarding=1
2023-11-08 10:19:24 +01:00
wg-2:
2024-01-05 19:22:05 +01:00
image: localhost/smegmesh-base:latest
2023-11-08 10:19:24 +01:00
cap_add:
- NET_ADMIN
- NET_RAW
tty: true
networks:
- net-1
volumes:
- ./shared:/shared
2024-01-05 19:22:05 +01:00
command: "smegd /shared/configuration.yaml"
sysctls:
- net.ipv6.conf.all.forwarding=1
2023-11-08 10:19:24 +01:00
wg-3:
2024-01-05 19:22:05 +01:00
image: localhost/smegmesh-base:latest
2023-11-08 10:19:24 +01:00
cap_add:
- NET_ADMIN
- NET_RAW
tty: true
networks:
- net-1
volumes:
- ./shared:/shared
2024-01-05 19:22:05 +01:00
command: "smegd /shared/configuration.yaml"
sysctls:
- net.ipv6.conf.all.forwarding=1