compose-viz/tests/ymls/volumes/docker-compose.yml

24 lines
444 B
YAML
Raw Normal View History

2022-05-24 10:02:47 +02:00
version: "3.9"
2022-05-03 16:05:00 +02:00
services:
2022-05-24 10:02:47 +02:00
backend:
image: awesome/backend
volumes:
- "./data:/data"
- type: bind
source: /var/run/postgres/postgres.sock
target: /var/run/postgres/postgres.sock
2022-05-03 16:05:00 +02:00
common:
image: busybox
volumes:
- common-volume:/var/lib/backup/data:rw,z
2022-05-03 16:05:00 +02:00
cli:
extends:
service: common
volumes:
- cli-volume:/var/lib/backup/data:ro
2022-05-24 10:02:47 +02:00
2022-05-03 16:05:00 +02:00
volumes:
common-volume:
2022-05-18 17:28:18 +02:00
cli-volume: