forked from citizen63000/tp-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
139 lines (139 loc) · 4.21 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
version: "3.3"
services:
tpmongo-mongodb:
container_name: "tpmongo-mongodb"
image: mongo:latest
ports:
- "27017:27017"
environment:
- MONGO_INITDB_ROOT_USERNAME=zz3f3
- MONGO_INITDB_ROOT_PASSWORD=easyma
# - MONGO_INITDB_DATABASE=auth
networks:
- local
# tpmongo-mongosh:
# container_name: "tpmongo-mongosh"
# build: mongosh
# depends_on:
# - tpmongo-mongodb
# networks:
# - local
tpmongo-mongo-gui:
container_name: "tpmongo-mongo-gui"
image: ugleiton/mongo-gui
ports:
- "4321:4321"
depends_on:
- tpmongo-mongodb
environment:
- MONGO_URL=mongodb://zz3f3:easyma@tpmongo-mongodb
networks:
- local
tpmongo-php:
container_name: "tpmongo-php"
image: citizen63000/ubuntu-php-mongo:1.2
depends_on:
- tpmongo-mongodb
ports:
- 8080:80
volumes:
- ./www:/var/www/app/
networks:
- local
# tpmongo-redis:
# container_name: "tpmongo-redis"
# image: redis:7.0.5
# ports:
# - 6379:6379
# networks:
# - local
# tpmongo-redis-commander:
# container_name: "tpmongo-redis-commander"
# image: rediscommander/redis-commander:latest
# depends_on:
# - tpmongo-redis
# ports:
# - 8081:8081
# environment:
# - REDIS_HOSTS=local:tpmongo-redis:6379
# networks:
# - local
# tpmongo-influxdb:
# container_name: "tpmongo-influxdb"
# image: influxdb:1.8
# ports:
# - "8086:8086"
# environment:
# - INFLUXDB_DB=k6
# networks:
# - local
# tpmongo-grafana:
# container_name: "tpmongo-grafana"
# image: grafana/grafana:latest
# depends_on:
# - tpmongo-influxdb
# ports:
# - "3000:3000"
# environment:
# - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
# - GF_AUTH_ANONYMOUS_ENABLED=true
# - GF_AUTH_BASIC_ENABLED=false
# volumes:
# - ./grafana/dashboards:/var/lib/grafana/dashboards
# - ./grafana/dashboard.yaml:/etc/grafana/provisioning/dashboards/dashboard.yaml
# - ./grafana/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml
# networks:
# - local
# tpmongo-k6:
# container_name: "tpmongo-k6"
# image: loadimpact/k6:latest
# depends_on:
# - tpmongo-php
# - tpmongo-influxdb
## entrypoint: /bin/sh
## user: root
# ports:
# - "6565:6565"
# environment:
# - K6_OUT=influxdb=http://influxdb:8086/k6
# volumes:
# - ./k6:/scripts
# networks:
# - local
tpmongo-elasticsearch:
image: elasticsearch:8.12.2
container_name: tpmongo-elasticsearch
ports:
- "9200:9200"
environment: ['CLI_JAVA_OPTS=-Xms512m -Xmx512m','bootstrap.memory_lock=true','discovery.type=single-node','xpack.security.enabled=false', 'xpack.security.enrollment.enabled=false', 'http.cors.allow-origin=http://localhost:8180', 'http.cors.enabled=true']
volumes:
- ./elasticsearch/synonyms:/usr/share/elasticsearch/config/synonyms
networks:
- local
deploy:
resources:
limits:
cpus: '1.0'
memory: 2048M
reservations:
cpus: '0.50'
memory: 1024M
tpmongo-kibana:
image: docker.elastic.co/kibana/kibana:8.12.2
container_name: tpmongo-kibana
ports:
- "5601:5601"
environment:
ELASTICSEARCH_HOSTS: '["http://tpmongo-elasticsearch:9200"]'
XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY: d1a66dfd-c4d3-4a0a-8290-2abcb83ab3aa
networks:
- local
elasticvue:
image: cars10/elasticvue
container_name: elasticvue
ports:
- "8180:8080"
networks:
- local
networks:
local: