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
42 lines (38 loc) · 766 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (38 loc) · 766 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
42
version: '3.7'
services:
php:
build:
context: .
dockerfile: php.dockerfile
args:
USER: $USER
volumes:
- ./:/workdir
security_opt:
- label:disable
depends_on:
- mysql
tty: true
mysql:
# TODO switch to MySQL 8 https://github.com/nuwave/lighthouse/issues/1784
image: mysql:5.7
tmpfs: /var/lib/mysql
environment:
MYSQL_DATABASE: test
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
redis:
image: redis:6
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:
- 8081:8080
tty: true