-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
148 lines (140 loc) · 3.2 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
140
141
142
143
144
145
146
147
148
version: "3.2"
networks:
neatlogic:
driver: bridge
services:
neatlogic-db:
image: neatlogic/neatlogic-db:community-3.2.0
container_name: neatlogic-db
stdin_open: true
tty: true
volumes:
- /app/logs/neatlogicdb/:/app/logs/neatlogicdb/
ports:
- "3306:3306"
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
environment:
NEATLOGIC_HOME: "/app"
NEATLOGIC_RUNNER_HOST: "neatlogic-runner"
MYSQL_SERVICE_PASSWORD: "neatlogic@901"
networks:
- neatlogic
neatlogic-collectdb:
image: neatlogic/neatlogic-collectdb:community-3.2.0
container_name: neatlogic-collectdb
stdin_open: true
tty: true
volumes:
- /app/logs/collectdb/:/app/logs/collectdb/
ports:
- "27017:27017"
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
environment:
- NEATLOGIC_HOME:/app
networks:
- neatlogic
neatlogic-runner:
image: neatlogic/neatlogic-runner:community-3.2.0
container_name: neatlogic-runner
stdin_open: true
tty: true
volumes:
- /app/logs/neatlogic-runner/:/app/logs/autoexec-runner/
ports:
#连接端口
- "8084:8084"
#心跳端口
- "8888:8888"
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
restart: always
environment:
- NEATLOGIC_HOME:/app
networks:
- neatlogic
depends_on:
- neatlogic-app
neatlogic-nacos:
image: neatlogic/neatlogic-nacos:community-3.2.0
container_name: neatlogic-nacos
stdin_open: true
tty: true
volumes:
- /app/logs/neatlogic-nacos/:/home/nacos/logs
ports:
- "8848:8848"
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
depends_on:
- neatlogic-db
restart: always
environment:
#连接的mysql配置
MYSQL_SERVICE_HOST: "neatlogic-db"
MYSQL_SERVICE_PORT: 3306
MYSQL_SERVICE_DB_NAME: "nacos"
MYSQL_SERVICE_USER: root
MYSQL_SERVICE_PASSWORD: "neatlogic@901"
networks:
- neatlogic
neatlogic-app:
image: neatlogic/neatlogic-app:community-3.2.0
container_name: neatlogic-app
stdin_open: true
tty: true
volumes:
- /app/logs/neatlogic-app/:/app/logs/neatlogic/
ports:
#宿主端口:容器端口
- "8282:8282"
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
depends_on:
- neatlogic-db
- neatlogic-collectdb
- neatlogic-nacos
environment:
NACOS_SERVICE_HOST: "neatlogic-nacos"
NACOS_SERVICE_PORT: "8848"
NACOS_SERVICE_NAMESPACE: "neatlogic-docker"
restart: always
networks:
- neatlogic
neatlogic-web:
image: neatlogic/neatlogic-web:community-3.2.0
container_name: neatlogic-web
stdin_open: true
tty: true
volumes:
- /app/logs/neatlogic-web/:/app/logs/nginx/
ports:
- "8090:8090"
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
restart: always
environment:
- NEATLOGIC_HOME:/app
networks:
- neatlogic
depends_on:
- neatlogic-app