forked from TestLinkOpenSourceTRMS/testlink-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (54 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
58 lines (54 loc) · 1.06 KB
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
networks:
testlink:
name: testlink
services:
db:
image: mysql:8.3.0
networks:
- testlink
restart: unless-stopped
user: mysql
environment:
- MYSQL_USER=teste
- MYSQL_PASSWORD=teste
- MYSQL_ROOT_PASSWORD=teste
- MYSQL_DATABASE=testlink
volumes:
- mysql:/var/lib/mysql
maildev:
image: maildev/maildev:latest
networks:
- testlink
ports:
- 1080:1080
- 1025:1025
restart: unless-stopped
environment:
- NODE_TLS_REJECT_UNAUTHORIZED=0
app: &app
build: .
restart: unless-stopped
depends_on:
db:
condition: service_started
maildev:
condition: service_started
networks:
- testlink
ports:
- 8090:80
volumes:
- ./logs:/var/testlink/logs:Z
- ./upload_area:/var/testlink/upload_area:Z
restore:
<<: *app
depends_on:
app:
condition: service_started
restart: no
ports: []
profiles:
- tools
command: ['/bin/bash', '-c', 'cd ./docs/db_sample && ./restore_sample.sh']
volumes:
mysql: