29 lines
469 B
YAML
29 lines
469 B
YAML
|
services:
|
||
|
frontend:
|
||
|
image: awesome/webapp
|
||
|
|
||
|
|
||
|
monitoring:
|
||
|
image: awesome/monitoring
|
||
|
|
||
|
|
||
|
|
||
|
backend:
|
||
|
volumes:
|
||
|
- 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
|
||
|
extends:
|
||
|
service: frontend
|
||
|
ports:
|
||
|
- "8000:5010"
|
||
|
|
||
|
volumes:
|
||
|
db-data:
|