compose-viz/tests/in/011101.yaml

43 lines
696 B
YAML
Raw Normal View History

2022-05-03 16:05:00 +02:00
services:
2022-05-18 16:03:27 +02:00
frontend:
image: awesome/webapp
2022-05-03 16:05:00 +02:00
networks:
- front-tier
- back-tier
2022-05-18 16:03:27 +02:00
monitoring:
image: awesome/monitoring
2022-05-03 16:05:00 +02:00
networks:
2022-05-18 16:03:27 +02:00
- admin
2022-05-18 17:28:18 +02:00
2022-05-03 16:05:00 +02:00
2022-05-18 16:03:27 +02:00
backend:
image: awesome/backend
2022-05-03 16:05:00 +02:00
networks:
2022-05-18 16:03:27 +02:00
back-tier:
aliases:
- database
admin:
aliases:
- mysql
2022-05-03 16:05:00 +02:00
volumes:
2022-05-18 16:03:27 +02:00
- type: volume
source: db-data
target: /data
volume:
nocopy: true
- type: bind
source: /var/run/postgres/postgres.sock
target: /var/run/postgres/postgres.sock
depends_on:
- monitoring
ports:
- "8000:5010"
2022-05-03 16:05:00 +02:00
networks:
front-tier:
back-tier:
2022-05-18 16:03:27 +02:00
admin:
volumes:
db-data: