summaryrefslogtreecommitdiff
path: root/test/compose/env_and_volume/docker-compose.yml
blob: df906e17059f2f01fad9893ebd581128ebadbfc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version: '3'
services:
  writer:
    environment:
      - PODMAN_MSG=podman_rulez
    build: write
    ports:
      - '5000:5000'
    volumes:
      - data:/data
  reader:
    build: read
    ports:
      - '5001:5000'
    volumes:
      - data:/data
volumes:
  data: