File: docker-compose.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 (14 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
version: "3.7"
services:
    variables:
        image: busybox
        command: ["/bin/busybox", "sh", "-c", "export | grep EXAMPLE"]
        environment:
            EXAMPLE_VARIABLE: "Host user: $USER"
            EXAMPLE_BRACES: "Host user: ${USER}"
            EXAMPLE_COLON_DASH_DEFAULT: ${NOT_A_VARIABLE:-My default}
            EXAMPLE_DASH_DEFAULT: ${NOT_A_VARIABLE-My other default}
            EXAMPLE_DOT_ENV: $DOT_ENV_VARIABLE
            EXAMPLE_LITERAL: This is a $$literal
            EXAMPLE_EMPTY: $NOT_A_VARIABLE