23112d8e39
Fixes #9.
38 lines
797 B
YAML
38 lines
797 B
YAML
version: '2.4'
|
|
|
|
services:
|
|
service_1:
|
|
container_name: service_1
|
|
image: leoverto/dummy-image
|
|
networks:
|
|
- network_a
|
|
- network_b
|
|
service_2:
|
|
container_name: service_2
|
|
image: leoverto/dummy-image
|
|
networks:
|
|
network_b:
|
|
network_c:
|
|
aliases:
|
|
- "s2.netc"
|
|
service_3:
|
|
container_name: service_3
|
|
image: leoverto/dummy-image
|
|
networks:
|
|
- network_a
|
|
- network_b
|
|
- network_c
|
|
host_service:
|
|
container_name: host_service
|
|
image: leoverto/dummy-image
|
|
network_mode: host
|
|
isolated_service:
|
|
container_name: isolated_service
|
|
image: leoverto/dummy-image
|
|
network_mode: none
|
|
|
|
networks:
|
|
network_a:
|
|
network_b:
|
|
network_c:
|
|
empty_network:
|