You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
533 B
YAML
31 lines
533 B
YAML
version: '3'
|
|
services:
|
|
backend:
|
|
build: ./backend
|
|
ports:
|
|
- "5000:5000"
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- './frontend:/src'
|
|
- '/src/node_modules'
|
|
ports:
|
|
- "80:80"
|
|
db:
|
|
image: postgres
|
|
environment:
|
|
POSTGRES_USER: user
|
|
POSTGRES_PASSWORD: password
|
|
ports:
|
|
- "5432:5432"
|
|
prometheus:
|
|
image: prom/prometheus
|
|
ports:
|
|
- "9090:9090"
|
|
grafana:
|
|
image: grafana/grafana
|
|
ports:
|
|
- "3000:3000"
|