mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-26 09:53:23 +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
262 B
YAML
19 lines
262 B
YAML
version: "3.8"
|
|
services:
|
|
test:
|
|
image: busybox
|
|
command:
|
|
- cat
|
|
- /run/secrets/new_secret
|
|
tmpfs:
|
|
- /run
|
|
- /tmp
|
|
secrets:
|
|
- new_secret
|
|
|
|
secrets:
|
|
new_secret:
|
|
external: true
|
|
name: my_secret
|
|
|