mirror of
https://github.com/docker/compose.git
synced 2025-08-31 14:38:12 +02:00
16 lines
254 B
YAML
16 lines
254 B
YAML
services:
|
|
ssh:
|
|
image: build-test-secret
|
|
build:
|
|
context: .
|
|
secrets:
|
|
- mysecret
|
|
- source: envsecret
|
|
target: build_secret
|
|
|
|
secrets:
|
|
mysecret:
|
|
file: ./secret.txt
|
|
envsecret:
|
|
environment: SOME_SECRET
|