-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.testing.yml
More file actions
71 lines (70 loc) · 1.6 KB
/
docker-compose.testing.yml
File metadata and controls
71 lines (70 loc) · 1.6 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
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3'
services:
web:
container_name: filehosting.site
image: nginx:latest
ports:
- "8080:80"
volumes:
- .:/var/www/filehosting
- ./.docker/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./.docker/nginx/site.conf:/etc/nginx/conf.d/site.conf
restart: always
depends_on:
- php
- postgres
- redis
- sphinx
php:
container_name: php
build:
context: .docker/php
dockerfile: Dockerfile
volumes:
- .:/var/www/filehosting
- ./.docker/php/php.ini:/usr/local/etc/php/conf.d/php.ini
restart: always
privileged: true
postgres:
container_name: postgres
image: postgres:latest
environment:
POSTGRES_DB: filehosting_testing
POSTGRES_USER: filehosting
POSTGRES_PASSWORD: qwerty
ports:
- "5432:5432"
restart: always
redis:
container_name: redis
image: redis:latest
ports:
- "6379:6379"
restart: always
sphinx:
container_name: sphinx
image: macbre/sphinxsearch:latest
volumes:
- ./tests/_data/sphinxsearch/data:/opt/sphinx/index
- ./config/sphinx_testing.conf:/opt/sphinx/conf/sphinx.conf
ports:
- "9306:9306"
restart: always
codecept:
container_name: codeception
build:
context: .docker/codecept
dockerfile: Dockerfile
volumes:
- .:/project
- ./tests:/project/tests
- ./codeception.yml:/project/codeception.yml
depends_on:
- web
- chrome
chrome:
container_name: chrome
image: selenium/standalone-chrome-debug:3.13
ports:
- "4444"
- "5900"