forked from gamemann/XDP-Firewall
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 764 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (30 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '3.0'
services:
ebpf-host1: &host
image: ebpf-host:1.1
privileged: true
stdin_open: true # docker run -i
tty: true # docker run -t
hostname: ebpf-host1
container_name: ebpf-host1
volumes:
- .:/app
networks:
- ebpf-network
ebpf-host2:
<<: *host
hostname: ebpf-host2
container_name: ebpf-host2
ebpf-host3:
<<: *host
hostname: ebpf-host3
container_name: ebpf-host3
networks:
ebpf-network:
# driver: bridge
# ipam:
# driver: default
# config:
# - subnet: 172.100.0.0/16
# driver_opts:
# com.docker.network.bridge.name: br_test