-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yaml
48 lines (46 loc) · 1.03 KB
/
docker-compose.yaml
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
version: "3"
services:
datax:
build: ./build
image: datax:3
container_name: datax
depends_on:
- mysql
restart: unless-stopped
environment:
- TZ=Asia/Shanghai
networks:
- default
ports:
- 9527:9527
command: bash -c "./start-all.sh && tail -f /dev/null"
mysql:
image: mysql:5.7.36
container_name: mysql-5.7.36
# user: 999:999
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=mypassword
- TZ=Asia/Shanghai
networks:
- default
# ports:
# - 3306:3306
volumes:
- ./persistence/mysql/data:/var/lib/mysql
- ./persistence/mysql/conf:/etc/mysql/conf.d
- ./persistence/mysql/logs:/var/log/mysql
command: --default-authentication-plugin=mysql_native_password
phpmyadmin:
image: phpmyadmin:5.1.1
container_name: phpmyadmin-5.1.1
depends_on:
- mysql
restart: unless-stopped
environment:
- PMA_HOST=mysql
- TZ=Asia/Shanghai
networks:
- default
ports:
- 8887:80