35 lines
510 B
YAML
35 lines
510 B
YAML
|
services:
|
||
|
frontend:
|
||
|
image: awesome/webapp
|
||
|
networks:
|
||
|
- front-tier
|
||
|
- back-tier
|
||
|
|
||
|
monitoring:
|
||
|
image: awesome/monitoring
|
||
|
networks:
|
||
|
- admin
|
||
|
|
||
|
|
||
|
backend:
|
||
|
image: awesome/backend
|
||
|
networks:
|
||
|
back-tier:
|
||
|
aliases:
|
||
|
- database
|
||
|
admin:
|
||
|
aliases:
|
||
|
- mysql
|
||
|
depends_on:
|
||
|
- monitoring
|
||
|
extends:
|
||
|
service: frontend
|
||
|
links:
|
||
|
- "db:database"
|
||
|
db:
|
||
|
image: postgres
|
||
|
|
||
|
networks:
|
||
|
front-tier:
|
||
|
back-tier:
|
||
|
admin:
|