mirror of
https://github.com/docker/compose.git
synced 2025-08-31 14:38:12 +02:00
16 lines
229 B
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
|
|
|