forked from meolu/walle-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (47 loc) · 906 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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
web:
build: ./
depends_on:
- db
expose:
- 5000
environment:
- WALLE_SECRET="guess me out"
networks:
- walle-net
restart: always
gateway:
image: nginx
ports:
- 0.0.0.0:80:80
volumes:
- ./fe/:/data/web/:ro
- ./gateway/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
networks:
walle-net:
restart: always
networks:
walle-net: ~