forked from meolu/walle-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.pro.yml
63 lines (54 loc) · 1 KB
/
docker-compose.pro.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
# 用户使用,最终镜像
version: "3.7"
services:
db:
image: mysql
ports:
- 0.0.0.0:3306:3306
expose:
- 3306
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: walle
MYSQL_DATABASE: walle
volumes:
- /data/walle/mysql:/var/lib/mysql
networks:
- walle-net
restart: always
adminer:
image: adminer
ports:
- 8888:8080
networks:
- walle-net
restart: always
ui:
image: walle/walle-ui:latest
expose:
- 8000
networks:
- walle-net
restart: always
web:
image: walle/walle-api:latest
depends_on:
- db
expose:
- 5000
environment:
- WALLE_SECRET="guess me out"
networks:
- walle-net
restart: always
gateway:
image: walle/walle-gateway:latest
ports:
- 0.0.0.0:80:80
volumes:
- ./fe/:/data/web/:ro
networks:
walle-net:
restart: always
networks:
walle-net: ~