forked from dnsjia/luban
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
72 lines (66 loc) · 1.54 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
version: "3"
services:
luban-fe:
image: registry.cn-hangzhou.aliyuncs.com/dnsjia/luban-fe:latest
restart: always
ports:
- "80:80"
depends_on:
- luban-backend1
networks:
- luban_network
luban-backend1:
image: registry.cn-hangzhou.aliyuncs.com/dnsjia/luban:latest
environment:
- TZ=Asia/Shanghai
restart: always
expose:
- "8999"
volumes:
- ./etc/config.yaml:/apps/luban/etc/config.yaml
- ./luban-data:/luban-data
- /etc/localtime:/etc/localtime
depends_on:
- luban-mysql
- luban-redis
- luban-guacd
networks:
- luban_network
luban-mysql:
image: registry.cn-hangzhou.aliyuncs.com/dnsjia/mysql:5.7
restart: always
expose:
- "3306"
environment:
MYSQL_DATABASE: luban
MYSQL_USER: luban
MYSQL_PASSWORD: luban
MYSQL_ROOT_PASSWORD: luban
MYSQL_CHARSET: utf8mb4
MYSQL_COLLATION: utf8mb4_general_ci
volumes:
- ./mysql-data:/var/lib/mysql
- /etc/localtime:/etc/localtime
networks:
- luban_network
luban-redis:
image: registry.cn-hangzhou.aliyuncs.com/dnsjia/redis:latest
restart: always
expose:
- "6379"
volumes:
#- redis.conf:/etc/redis/redis.conf
- ./redis-data:/data
networks:
- luban_network
luban-guacd:
image: registry.cn-hangzhou.aliyuncs.com/dnsjia/guacd:latest
restart: always
expose:
- "4822"
volumes:
- ./luban-data:/luban-data
networks:
- luban_network
networks:
luban_network: