-
Notifications
You must be signed in to change notification settings - Fork 182
/
docker-compose.yml
72 lines (67 loc) · 1.56 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:
albedo-mysql:
build:
context: ./
dockerfile: ./db/Dockerfile
restart: always
container_name: albedo-mysql
image: albedo-mysql
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: 111111
MYSQL_USER: mysql
MYSQL_PASSWORD: mysql
TZ: Asia/Shanghai
command:
--default-authentication-plugin=mysql_native_password
--character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci
--explicit_defaults_for_timestamp=true
--lower_case_table_names=1
# volumes:
# - ./mysql/data:/var/lib/mysql
# - ./mysql/log:/var/log/mysql
# - ./mysql/config:/etc/mysql
albedo-redis:
image: redis:6.0
ports:
- 6379:6379
restart: always
container_name: albedo-redis
hostname: albedo-redis
albedo-admin:
build:
context: ./albedo-modules/albedo-admin
restart: always
container_name: albedo-admin
hostname: albedo-admin
image: albedo-admin
albedo-api:
build:
context: ./albedo-modules/albedo-app
restart: always
ports:
- 4001:4001
container_name: albedo-app
hostname: albedo-app
image: albedo-api
albedo-quartz:
build:
context: ./albedo-modules/albedo-quartz
restart: always
ports:
- 4002:4002
container_name: albedo-quartz
hostname: albedo-quartz
image: albedo-quartz
albedo-ui:
build:
context: ./albedo-ui
restart: always
container_name: albedo-ui
hostname: albedo-ui
image: albedo-ui
ports:
- 8081:80