-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (55 loc) · 1012 Bytes
/
docker-compose.yml
File metadata and controls
61 lines (55 loc) · 1012 Bytes
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
services:
sync:
build: .
image: 0g-scan:latest
command: sync
restart: unless-stopped
depends_on:
- db
env_file:
- path: .env
stat:
image: 0g-scan:latest
command: stat
restart: unless-stopped
depends_on:
- db
env_file:
- path: .env
api:
image: 0g-scan:latest
command: api
ports:
- ${ZG_SCAN_API_EXPOSE_PORT:-16451}:16451
restart: unless-stopped
depends_on:
- db
env_file:
- path: .env
da_api:
image: 0g-scan:latest
command: da_api
ports:
- ${ZG_SCAN_DAAPI_EXPOSE_PORT:-17451}:17451
restart: unless-stopped
depends_on:
- db
env_file:
- path: .env
db:
image: mysql:8
ports:
- "3306"
restart: unless-stopped
env_file:
- path: .env
required: false
environment:
- MYSQL_ROOT_PASSWORD=root
volumes:
- db-data:/var/lib/mysql
networks:
default:
name: 0g-scan-internal
volumes:
db-data: {}