mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-27 23:25:43 +03:00
37 lines
664 B
Markdown
37 lines
664 B
Markdown
|
## Testrail
|
||
|
|
||
|
* Based on `websites:php7.2` of our ecosystem.
|
||
|
|
||
|
# Compose example
|
||
|
|
||
|
```yml
|
||
|
version: '3.7'
|
||
|
services:
|
||
|
testrail:
|
||
|
image: epicmorg/testrail
|
||
|
# depends_on:
|
||
|
# - mysql
|
||
|
# - memcached
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /etc/localtime:/etc/localtime
|
||
|
- /etc/timezone:/etc/timezone
|
||
|
# - /etc/letsencrypt:/etc/letsencrypt
|
||
|
- www:/var/www
|
||
|
- apache2:/etc/apache2
|
||
|
- php:/etc/php
|
||
|
restart: unless-stopped
|
||
|
# extra_hosts:
|
||
|
# - "example.com:192.168.0.11"
|
||
|
tmpfs:
|
||
|
- /tmp
|
||
|
- /var/lib/php/sessions
|
||
|
volumes:
|
||
|
www:
|
||
|
external: true
|
||
|
apache2:
|
||
|
external: true
|
||
|
php:
|
||
|
external: true
|
||
|
```
|