services:
some-service:
networks:
some-network:
aliases:- alias1
other-network:
aliases:- alias2
networks:
some-network:# Use a custom driver
driver: custom-driver-1
other-network:# Use a custom driver which takes special options
driver: custom-driver-2