github.com/bdwilliams/libcompose@v0.3.1-0.20160826154243-d81a9bdacff0/config/testdata/networks-definition.v2.yml (about)

     1  version: "2"
     2  networks:
     3    default:
     4      driver: custom-driver
     5    network1:
     6      driver: bridge
     7      driver_opts:
     8        com.docker.network.enable_ipv6: "true"
     9      ipam:
    10        driver: default
    11        config:
    12        - subnet: 172.16.238.0/24
    13          gateway: 172.16.238.1
    14        - subnet: 2001:3984:3989::/64
    15          gateway: 2001:3984:3989::1
    16    network2:
    17      external: true
    18    network3:
    19      external:
    20        name: name-of-network
    21    network3: {}