mirror of
https://github.com/containers/podman-compose.git
synced 2024-12-29 10:09:13 +01:00
62aa337f17
Adds support for - - (1) Declared secrets with the file location. - (2) Declared secrets with file location, mounted as a different named secret. - (3) Declared secrets with file location, mounted at arbitrary location. - (4) External secrets (type=mount), mounted as original secret name. - (5) External secrets (type=mount), mounted as original secret name, with specified uid, gid and mode.
19 lines
278 B
YAML
19 lines
278 B
YAML
version: "3.8"
|
|
services:
|
|
test:
|
|
image: busybox
|
|
command:
|
|
- cat
|
|
- /run/secrets/my_secret_2
|
|
tmpfs:
|
|
- /run
|
|
- /tmp
|
|
secrets:
|
|
- source: my_secret
|
|
target: new_secret
|
|
|
|
secrets:
|
|
my_secret:
|
|
external: true
|
|
|