-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.services.yml
More file actions
102 lines (99 loc) · 2.71 KB
/
docker-compose.services.yml
File metadata and controls
102 lines (99 loc) · 2.71 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
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
name: harmony-services
networks:
harmony-network:
driver: bridge
name: harmony-network
volumes:
mysql:
services:
nginx:
image: 'nginx:1.25.3'
restart: unless-stopped
hostname: nginx
container_name: nginx
ports:
- "80:80"
volumes:
- ./docker/nginx/templates:/etc/nginx/templates
- ./docker/nginx/configuration/custom_proxy_settings.conf:/etc/nginx/conf.d/custom_proxy_settings.conf
networks:
- harmony-network
mysql:
image: "mysql:8.0.39-debian"
restart: unless-stopped
hostname: mysql
container_name: mysql
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root
volumes:
- ./docker/db/mysql_initial.sql:/docker-entrypoint-initdb.d/mysql_initial.sql
- mysql:/var/lib/mysql
networks:
- harmony-network
mongodb:
image: "bitnami/mongodb:7.0.11"
restart: unless-stopped
hostname: mongodb
container_name: mongodb
ports:
- "27017:27017"
environment:
- MONGODB_ROOT_USER=root
- MONGODB_ROOT_PASSWORD=root
networks:
- harmony-network
neo4j:
image: "neo4j:latest"
restart: unless-stopped
hostname: neo4j
container_name: neo4j
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_AUTH=neo4j/admin@123
networks:
- harmony-network
kafka:
image: "bitnami/kafka:3.7.0"
container_name: kafka
hostname: kafka
ports:
- "9094:9094"
environment:
- KAFKA_CFG_NODE_ID=0
- KAFKA_CFG_PROCESS_ROLES=controller,broker
- KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=0@kafka:9093
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093,EXTERNAL://:9094
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092,EXTERNAL://localhost:9094
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,EXTERNAL:PLAINTEXT,PLAINTEXT:PLAINTEXT
- KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER
networks:
- harmony-network
swagger-ui:
image: "swaggerapi/swagger-ui:v4.16.0"
restart: unless-stopped
hostname: swagger-ui
container_name: swagger-ui
environment:
- BASE_URL=/swagger-ui
- URLS
- OAUTH_CLIENT_ID=swagger-ui
- OAUTH_USE_PKCE=true
networks:
- harmony-network
phpmyadmin:
image: 'phpmyadmin'
restart: unless-stopped
hostname: phpmyadmin
container_name: phpmyadmin
ports:
- '8080:80'
environment:
- PMA_HOST=mysql
links:
- mysql
networks:
- harmony-network