forked from gurock/testrail-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose_external_db.yml
More file actions
39 lines (33 loc) · 960 Bytes
/
docker-compose_external_db.yml
File metadata and controls
39 lines (33 loc) · 960 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
# An explanation for docker or docker-compose newcomers can be found in the 'docker-compose_documents.yml' file
# Please also use the official docker documentation as a reference:
# https://docs.docker.com/ and https://docs.docker.com/compose/
# Instructions for necessary settings during setup when using docker-compose deployment can be found here:
# TBD
version: '3'
services:
srv:
image: "testrail/apache:${TESTRAIL_VERSION:-latest}"
restart: unless-stopped
networks:
- testrail
ports:
- "${HTTP_PORT:-8000}:80"
volumes:
- 'testrail_config:/var/www/testrail/config/'
- 'testrail_opt:/opt/testrail'
networks:
testrail:
driver: bridge
volumes:
testrail_opt:
driver: local
driver_opts:
type: none
device: "$PWD/${OPT_PATH:-_opt}"
o: bind
testrail_config:
driver: local
driver_opts:
type: none
device: "$PWD/${CONFIG_PATH:-_config}"
o: bind