-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
46 lines (42 loc) · 1.06 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
version: '2'
services:
php:
image: php:7.1-apache
working_dir: /var/www
command: >
bash -c "sed -ri -e 's!/var/www/html!/var/www/public!g'
/etc/apache2/sites-available/*.conf; a2enmod rewrite;
apache2-foreground"
networks:
default:
aliases:
- behat.testing
volumes:
- ./:/var/www/
ports:
- 80:80
links:
- selenium
selenium:
image: selenium/standalone-chrome-debug:3.11.0-californium
environment:
- VNC_NO_PASSWORD=1
- SCREEN_WIDTH=900 #1200
- SCREEN_HEIGHT=675
ports:
- 4444:4444
- 5900:5900
vnc:
image: dougw/novnc
command: >
bash -c "(echo \"<script>window.location='vnc.html?host=\";
printenv REMOTE_HOST; echo \"&autoconnect=true&port=\"; printenv REMOTE_PORT;
echo \"'</script>\";) | tr -d '\n' > /root/noVNC/build/index.html;
supervisord -c /etc/supervisor/conf.d/supervisord.conf"
environment:
- REMOTE_HOST=localhost
- REMOTE_PORT=5900
ports:
- 8081:8081
links:
- selenium