services: foo: image: alpine secrets: - source: secret target: bar uid: "1005" gid: "1005" mode: 0440 command: cat /run/secrets/bar secrets: secret: environment: SECRET