-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (59 loc) · 1.32 KB
/
Copy pathdocker-compose.yml
File metadata and controls
66 lines (59 loc) · 1.32 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
# Use root/Qwerty123! as user/password credentials
version: '3.1'
services:
mongo:
image: mongo
restart: always
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: Qwerty123!
mongo-express:
image: mongo-express
restart: always
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: Qwerty123!
ME_CONFIG_MONGODB_URL: mongodb://root:Qwerty123!@mongo:27017/
mysql:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: Qwerty123!
ports:
- '3307:3307'
- '3306:3306'
expose:
- '3307'
neo4j:
image: neo4j
hostname: neo4j
restart: always
container_name: neo4j
ports:
- "7474:7474"
- "7687:7687"
environment:
NEO4J_AUTH: neo4j/hua-neo4j
zookeeper:
image: wurstmeister/zookeeper
hostname: zookeeper
restart: always
container_name: zookeeper
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
kafka:
image: wurstmeister/kafka
hostname: kafka
restart: always
container_name: kafka
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: localhost
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181