2022-05-03 16:05:00 +02:00
|
|
|
services:
|
|
|
|
frontend:
|
|
|
|
image: awesome/webapp
|
|
|
|
|
|
|
|
monitoring:
|
|
|
|
image: awesome/monitoring
|
2022-05-18 17:28:18 +02:00
|
|
|
|
2022-05-03 16:05:00 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
extends:
|
|
|
|
service: frontend
|
|
|
|
links:
|
|
|
|
- "db:database"
|
|
|
|
db:
|
|
|
|
image: postgres
|
|
|
|
|
|
|
|
volumes:
|
2022-05-18 17:28:18 +02:00
|
|
|
db-data:
|