-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (39 loc) · 937 Bytes
/
docker-compose.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
version: '3'
services:
container1:
image: alpine
command: /bin/sh -c "apk update && apk add socat && socat -u UDP4-RECVFROM:12345,ip-add-membership=239.0.0.1:0.0.0.0,fork,reuseaddr -"
container_name: container1
networks:
my_multicast_network:
container2:
image: ww-load-balancer
command: /bin/sh
tty: true
stdin_open: true
container_name: container2
networks:
my_multicast_network:
ports:
- "8080:8080"
container3:
image: ww-load-balancer
command: /bin/sh
tty: true
stdin_open: true
container_name: container3
networks:
my_multicast_network:
container4:
image: ww-load-balancer
command: /bin/sh
tty: true
stdin_open: true
container_name: container4
networks:
my_multicast_network:
networks:
my_multicast_network:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "true"