1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
version: '2' services: myweb: extends: file: common.yml service: web command: top links: - "mydb:db" environment: # leave FOO alone # override BAR BAR: "2" # add BAZ BAZ: "2" # net: bridge mydb: image: busybox command: top