-
Notifications
You must be signed in to change notification settings - Fork 52
/
docker-compose-skywalking.yml
51 lines (51 loc) · 1.3 KB
/
docker-compose-skywalking.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
version: '3'
services:
oap:
image: apache/skywalking-oap-server:8.9.1
container_name: oap
restart: always
ports:
- 11800:11800 # agent 上报数据的端口,这是 gRPC 端口
- 12800:12800 # ui 读取数据的端口, 这是 http 端口
environment:
- TZ=Asia/Shanghai
skywaling-ui:
image: apache/skywalking-ui:8.9.1
container_name: ui
depends_on:
- oap
links:
- oap
ports:
- 8088:8080
environment:
- SW_OAP_ADDRESS=http://192.168.83.196:12800
- TZ=Asia/Shanghai
skywalking-php1:
image: skyapm/skywalking-php:v4.2.0-7.4-fpm-alpine
container_name: agent-php1
volumes:
- ./skywalking-php/php.ini:/usr/local/etc/php/conf.d/ext-skywalking.ini
- ./skywalking-php/index.php:/var/www/html/index.php
depends_on:
- oap
links:
- oap
ports:
- 8010:8080
environment:
- SW_OAP_ADDRESS=oap:11800
skywalking-php2:
image: skyapm/skywalking-php:v4.2.0-7.4-fpm-alpine
container_name: agent-php2
volumes:
- ./skywalking-php1/php.ini:/usr/local/etc/php/conf.d/ext-skywalking.ini
- ./skywalking-php1/index.php:/var/www/html/index.php
depends_on:
- oap
links:
- oap
ports:
- 8011:8080
environment:
- SW_OAP_ADDRESS=oap:11800