-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (53 loc) · 1.47 KB
/
docker-compose.yml
File metadata and controls
53 lines (53 loc) · 1.47 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
version: '3'
services:
lv:
build:
context: ./vendor/laravel/sail/runtimes/8.2
dockerfile: Dockerfile
args:
WWWGROUP: '${WWWGROUP:-1000}'
image: sail-8.2/betsflow-app
container_name: '${APP_NAME:-msvc}_lv'
restart: on-failure
extra_hosts:
- 'host.docker.internal:host-gateway'
ports:
- '${APP_PORT:-80}:80'
environment:
WWWUSER: '${WWWUSER:-1000}'
LARAVEL_SAIL: 1
XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'
XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'
volumes:
- '.:/var/www/html'
networks:
- mirror
depends_on:
- selenium
selenium:
image: selenium/standalone-chrome
container_name: '${APP_NAME:-msvc}_selenium'
hostname: selenium
restart: on-failure
environment:
TZ: "${TIMEZONE:-Europe/Moscow}"
ports:
- "7902:7900"
shm_size: "2gb"
extra_hosts:
- 'host.docker.internal:host-gateway'
volumes:
- '/dev/shm:/dev/shm'
- 'chrome-data:/external/chrome/data'
networks:
- mirror
networks:
mirror:
driver: bridge
volumes:
chrome-data:
driver: local
driver_opts:
o: bind
type: none
device: ./volumes/selenium/chrome-data