forked from nuwave/lighthouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 849 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 849 Bytes
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
version: '3.7'
services:
php:
build:
context: .
dockerfile: php.dockerfile
args:
USER: $USER
volumes:
- ./:/workdir
security_opt:
- label:disable
depends_on:
- mysql
environment:
XDEBUG_CONFIG: "remote_enable=1 remote_mode=req remote_port=9000 remote_connect_back=0 remote_host=host.docker.internal"
PHP_IDE_CONFIG: "serverName=lighthouse"
tty: true
mysql:
image: mysql:5.7
tmpfs: /var/lib/mysql
environment:
MYSQL_DATABASE: test
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
node:
build:
context: .
dockerfile: node.dockerfile
volumes:
- ./docs:/app
security_opt:
- label:disable
working_dir: /app
environment:
- NODE_OPTIONS="--max-old-space-size=8192"
ports:
- 8080:8080
tty: true