-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
103 lines (96 loc) · 1.91 KB
/
docker-compose.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: "3.3"
services:
neofura_http:
build:
context: "./neo3fura_http"
args:
RT: ${RUNTIME}
ports:
- "1926:1926"
networks:
- network
restart: always
container_name: service_http_${RUNTIME}
volumes:
- ./logs:/go/application/Logs/
depends_on:
- redis
- mongo
neofura_ws:
build:
context: "./neo3fura_ws"
args:
RT: ${RUNTIME}
ports:
- "2026:2026"
networks:
- network
restart: always
container_name: service_ws_${RUNTIME}
volumes:
- ./logs_ws:/go/application/Logs/
depends_on:
- redis
- mongo
redis:
image: redis
networks:
- network
restart: always
ports:
- "6379:6379"
container_name: cache_${RUNTIME}
mongo:
image: mongo
restart: always
container_name: mongo_${RUNTIME}
networks:
- network
ports:
- "27001:27017"
expose:
- "27017"
mongo-express:
image: mongo-express
restart: always
container_name: mongo_express_${RUNTIME}
ports:
- "8081:8081"
networks:
- network
environment:
ME_CONFIG_BASICAUTH_USERNAME: change_the_admin
ME_CONFIG_BASICAUTH_PASSWORD: change_the_password
depends_on:
- mongo
prometheus:
image: prom/prometheus:v2.6.1
container_name: prometheus_${RUNTIME}
ports:
- "9091:9090"
expose:
- "9091"
networks:
- network
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- ./data/prometheus:/data
#command:
#- '--config.file=/etc/prometheus/prometheus.yml'
depends_on:
- neofura_http
- neofura_ws
grafana:
image: grafana/grafana:5.1.0
container_name: grafana_${RUNTIME}
ports:
- 3000:3000
expose:
- "3000"
networks:
- network
user: '104'
depends_on:
- prometheus
networks:
network: