Debian Codegraph @

tests/integration/secrets/docker-compose.yaml

raw symbols SCIP
1 version: "3.8"
2 services:
3 test:
4 image: busybox
5 command:
6 - /tmp/print_secrets.sh
7 tmpfs:
8 - /run
9 - /tmp
10 volumes:
11 - ./print_secrets.sh:/tmp/print_secrets.sh:z
12 secrets:
13 - podman_compose_test_secret
14 # Custom name reference for mounted external secret is not supported
15 #- podman_compose_test_secret_2
16 - source: podman_compose_test_secret_3
17 # warning about unsupported "target" field
18 target: podman_compose_test_secret_3
19 uid: '103'
20 gid: '103'
21 mode: 400
22 - file_secret
23 - source: file_secret
24 target: custom_name
25 - source: file_secret
26 target: /etc/custom_location
27 - source: file_secret
28 # warning about unsupported "uid", "gid", "mode" fields
29 target: unused_params_warning
30 uid: '103'
31 gid: '103'
32 mode: 400
33 - source: podman_compose_test_secret
34 target: ENV_SECRET
35 type: env
36
37 secrets:
38 podman_compose_test_secret:
39 external: true
40 # Custom name reference for mounted external secret is not supported
41 #podman_compose_test_secret_2:
42 #external: true
43 #name: podman_compose_test_secret_custom_name
44 podman_compose_test_secret_3:
45 external: true
46 name: podman_compose_test_secret_3
47 file_secret:
48 file: ./my_secret