-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
81 lines (73 loc) · 1.48 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
73
74
75
76
77
78
79
80
81
version: "3.8"
services:
grc_clamav:
image: 'clamav/clamav:latest'
grc_db:
image: "postgres:13.5"
container_name: "grc_db"
ports:
- "5432:5432"
expose:
- "5432"
volumes:
- dbdata:/var/lib/postgresql/data
environment:
- POSTGRES_DB=grc
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_HOST=grc_db
grc_app:
container_name: "grc_app"
build:
context: .
ports:
- 3000:3000
env_file: .env
volumes:
- ./:/app
entrypoint: dockerize -wait tcp://grc_db:5432
depends_on:
- grc_db
command: /app/run.sh
grc_admin:
container_name: "grc_admin"
build:
context: .
dockerfile: admin.Dockerfile
ports:
- 3001:3001
env_file: .admin.env
volumes:
- ./:/admin
entrypoint: dockerize -wait tcp://grc_db:5432
depends_on:
- grc_db
command: /app/run_admin.sh
grc_dashboard:
container_name: "grc_dashboard"
build:
context: .
dockerfile: dashboard.Dockerfile
ports:
- 3002:3002
env_file: .dashboard.env
volumes:
- ./:/dashboard
entrypoint: dockerize -wait tcp://grc_db:5432
depends_on:
- grc_db
command: /app/run_dashboard.sh
volumes:
dbdata:
# mysqldb:
# image: mysql
# ports:
# - 3306:3306
# environment:
# - MYSQL_ROOT_PASSWORD=p@ssw0rd1
# volumes:
# - mysql:/var/lib/mysql
# - mysql_config:/etc/mysql
# volumes:
# mysql:
# mysql_config: