-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
70 lines (63 loc) · 1.77 KB
/
docker-compose.yaml
File metadata and controls
70 lines (63 loc) · 1.77 KB
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
61
62
63
64
65
66
67
68
69
70
# Docker compose environment for local development
version: '3'
volumes:
grafana_data: {}
prometheus_data: {}
services:
s3:
image: quay.io/minio/minio:latest
ports:
- 9000:9000 # S3 API at http://127.0.0.1:9000
- 9001:9001 # admin console at http://127.0.0.1:9001
command: ['server', '/data', '--console-address', ':9001']
environment:
MINIO_ROOT_USER: 'minioadmin'
MINIO_ROOT_PASSWORD: 'minioadmin'
mongodb:
image: mongo:latest
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
# PDF Service must be first build in PDF Service Repository
# pdf:
# image: fdpgpdfservice:latest
# restart: always
# ports:
# - 8081:3000
# environment:
# ENABLE_TELEMETRY: false
# PRINT_FRONTEND_HOST: http://localhost:3000
prometheus:
image: prom/prometheus:latest
container_name: prometheus
ports:
- '9090:9090'
volumes:
- ./docker_compose_files/prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus_data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
loki:
image: grafana/loki:latest
container_name: loki
ports:
- '3100:3100'
command: -config.file=/etc/loki/local-config.yaml
grafana:
image: grafana/grafana:10.3.1-ubuntu
container_name: grafana
ports:
- '3099:3000'
volumes:
- grafana_data:/var/lib/grafana
- ./docker_compose_files/grafana/provisioning:/etc/grafana/provisioning
- ./docker_compose_files/grafana/dashboards:/var/lib/grafana/dashboards
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
depends_on:
- loki
- prometheus