pkg/e2e/fixtures/configs/compose.yaml
raw| 1 | services: |
| 2 | from_env: |
| 3 | image: alpine |
| 4 | configs: |
| 5 | - source: from_env |
| 6 | command: cat /from_env |
| 7 | |
| 8 | from_file: |
| 9 | image: alpine |
| 10 | configs: |
| 11 | - source: from_file |
| 12 | command: cat /from_file |
| 13 | |
| 14 | inlined: |
| 15 | image: alpine |
| 16 | configs: |
| 17 | - source: inlined |
| 18 | command: cat /inlined |
| 19 | |
| 20 | target: |
| 21 | image: alpine |
| 22 | configs: |
| 23 | - source: inlined |
| 24 | target: /target |
| 25 | command: cat /target |
| 26 | |
| 27 | configs: |
| 28 | from_env: |
| 29 | environment: CONFIG |
| 30 | from_file: |
| 31 | file: config.txt |
| 32 | inlined: |
| 33 | content: This is my $CONFIG |