github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/cli/e2e/stack/testdata/stack-with-named-resources.yml (about) 1 version: '3.5' 2 services: 3 web: 4 image: registry:5000/alpine:3.6 5 command: top 6 networks: [network1, network2] 7 volumes: [volume1, volume2] 8 secrets: [secret1, secret2] 9 configs: [config1, config2] 10 11 networks: 12 network1: 13 name: named-network 14 network2: 15 volumes: 16 volume1: 17 name: named-volume 18 volume2: 19 secrets: 20 secret1: 21 name: named-secret 22 file: ./data 23 secret2: 24 file: ./data 25 configs: 26 config1: 27 name: named-config 28 file: ./data 29 config2: 30 file: ./data