forked from LaconicNetwork/kompose
* Support file based secret * Fix issue about read-only volume path and add support to absolute path at long-syntax
17 lines
298 B
YAML
17 lines
298 B
YAML
version: "3.1"
|
|
services:
|
|
redis:
|
|
image: redis:latest
|
|
deploy:
|
|
replicas: 1
|
|
secrets:
|
|
- source: my_secret
|
|
target: redis_secret
|
|
uid: '103'
|
|
gid: '103'
|
|
mode: 0440
|
|
secrets:
|
|
my_secret:
|
|
file: ./my_secret.txt
|
|
my_other_secret:
|
|
external: true |