File: docker-compose-question-error.yml

package info (click to toggle)
podman-compose 1.0.6-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 712 kB
  • sloc: python: 2,588; javascript: 48; sh: 36; makefile: 6
file content (8 lines) | stat: -rw-r--r-- 227 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
version: "3.7"
services:
    variables:
        image: busybox
        command: ["/bin/busybox", "sh", "-c", "export | grep EXAMPLE"]
        environment:
            EXAMPLE_QUESTION_ERROR: ${NOT_A_VARIABLE?Missing variable}