File: container-compose.yml

package info (click to toggle)
podman-compose 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,004 kB
  • sloc: python: 10,946; sh: 107; javascript: 48; makefile: 13
file content (18 lines) | stat: -rw-r--r-- 331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version: "3"

name: my-project-name

services:
  env-test:
    image: busybox
    command: sh -c "export | grep ZZ"
    environment:
      ZZVAR1: myval1
      ZZVAR2: 2-$ZZVAR1
      ZZVAR3: 3-$ZZVAR2

  project-name-test:
    image: busybox
    command: sh -c "echo $$PNAME"
    environment:
      PNAME: ${COMPOSE_PROJECT_NAME}