compose/pkg/e2e/fixtures/env-secret/compose.yaml

16 lines
229 B
YAML

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