-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.nginx.yml
60 lines (55 loc) · 1.07 KB
/
docker-compose.nginx.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3"
services:
nginx-proxy:
image: nginx:latest
restart: always
ports:
- "8080:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
grafana:
image: grafana/grafana:8.3.3
volumes:
- ./grafana_data:/var/lib/grafana
environment:
- GF_SECURITY_ADMIN_PASSWORD=secret
ports:
- "3000:3000"
networks:
- monitoring
depends_on:
- prometheus
prometheus:
image: prom/prometheus:v2.31.1
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
networks:
- monitoring
depends_on:
- procima
procima:
build:
context: ./procima
dockerfile: Dockerfile
container_name: procima
ports:
- "8080:8080"
deploy:
resources:
limits:
cpus: '6'
memory: 10G
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "10"
tty: true
networks:
- monitoring
restart: always
networks:
monitoring:
driver: bridge