-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
40 lines (35 loc) · 979 Bytes
/
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
nuls-switch-mysql:
container_name: nuls-switch-mysql
hostname: nuls-switch-mysql
image: registry.cn-hangzhou.aliyuncs.com/edwardchan/nuls-switch-mysql:latest
restart: always
expose:
- "3306"
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
nuls-switch-backend:
container_name: nuls-switch-backend
hostname: nuls-switch-backend
image: registry.cn-hangzhou.aliyuncs.com/edwardchan/nuls-switch-backend:latest
restart: always
expose:
- "8081"
environment:
- MYSQL_ADDRESS=nuls-switch-mysql
- MYSQL_USER=root
- MYSQL_PASSWORD=
- NULS_API_ADDRESS=http://beta.api.nuls.io/
links:
- nuls-switch-mysql:nuls-switch-mysql
nuls-switch-web:
container_name: nuls-switch-web
hostname: nuls-switch-web
image: registry.cn-hangzhou.aliyuncs.com/edwardchan/nuls-switch-web:latest
restart: always
ports:
- "8090:80"
links:
- nuls-switch-backend:nuls-switch-backend