-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
74 lines (67 loc) · 1.96 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
version: '3.7'
services:
tl_pg:
image: lczub/testlink_pg:${TL_PG_VERSION}-${TL_RELEASE}
container_name: testlink_pg_${TL_RELEASE}
build:
context: ./db
args:
- tl_release=${TL_RELEASE}
- tl_version=${TL_VERSION}
- tl_pg_version=${TL_PG_VERSION}
- tl_download_base=${TL_DOWNLOAD_BASE}
- tl_download_file=${TL_DOWNLOAD_FILE}
environment:
POSTGRES_PASSWORD: ${TL_DB_USER}
POSTGRES_USER: ${TL_DB_PASSWORD}
POSTGRES_DB: ${TL_DB_NAME}
volumes:
- tl-pg-volume:/var/lib/postgresql/data
tl_smtp:
image: docker.io/axllent/mailpit
container_name: testlink_smtp_${TL_RELEASE}
ports:
- ${TL_SMTP_PORT_MH_SMTP_SERVER}:1025
- ${TL_SMTP_PORT_MH_HTTP_SERVER}:8025
volumes:
- tl-data-volume:/data
environment:
MP_MAX_MESSAGES: 5000
MP_DATABASE: /data/mailpit.db
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
tl_apache:
depends_on:
- tl_pg
image: lczub/testlink_apache_php:${TL_PHP_VERSION}-${TL_RELEASE}
container_name: testlink_apache_${TL_RELEASE}
build:
context: ./webapp
args:
- tl_release=${TL_RELEASE}
- tl_version=${TL_VERSION}
- tl_php_version=${TL_PHP_VERSION}
- tl_download_base=${TL_DOWNLOAD_BASE}
- tl_download_file=${TL_DOWNLOAD_FILE}
environment:
TL_DB_USER: ${TL_DB_USER}
TL_DB_PASSWORD: ${TL_DB_PASSWORD}
TL_DB_HOST: ${TL_DB_HOST}
TL_DB_NAME: ${TL_DB_NAME}
volumes:
- tl-data-volume:/var/testlink
ports:
- ${TL_APACHE_PORT}:80
pgadmin:
image: docker.io/dpage/pgadmin4
container_name: testlink_pgadmin_${TL_RELEASE}
ports:
- ${TL_PGADMIN_PORT}:80
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: SuperSecret
volumes:
tl-data-volume:
name: ${TL_VOLUME_NAME_DATA}
tl-pg-volume:
name: ${TL_VOLUME_NAME_PG}