-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
62 lines (57 loc) · 1.42 KB
/
compose.yaml
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
services:
php:
build:
context: .
volumes:
- "~/.docker_cache/composer:/.cache"
- "~/.docker_cache/symfony5:/.symfony5"
- "~/.gitconfig:/.gitconfig"
- ".:/app"
- "./.phiremock:/.phiremock"
environment:
- PHP_CS_FIXER_IGNORE_ENV=1
- XDEBUG_MODE=debug
server:
extends:
service: php
entrypoint: ["server-entrypoint"]
ports:
- "8080:8080"
volumes:
- "./server-entrypoint.sh:/usr/local/bin/server-entrypoint"
acceptance-server:
extends:
service: server
environment:
- APP_ENV=acceptance
ports: !reset null
chrome:
image: selenium/node-chrome
shm_size: 2g
depends_on:
- selenium-hub
environment:
- SE_OPTS=--log-level OFF --enable-managed-downloads true
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_DRAIN_AFTER_SESSION_COUNT=50
- VNC_NO_PASSWORD=1
- TMPDIR=/var/tmp
- SE_JAVA_OPTS=-XX:-UsePerfData
selenium-hub:
image: selenium/hub
environment:
- SE_OPTS=--log-level OFF
ports:
- "4444:4444"
depends_on:
- acceptance-server
- phiremock
phiremock:
extends:
service: php
entrypoint: ["vendor/bin/phiremock"]
command: ["--ip", "0.0.0.0", "--port", "8086", "-e", "tests/_expectations"]
volumes:
- "./.phiremock:/.phiremock"