-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (49 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
53 lines (49 loc) · 1.07 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.7"
services:
nginx:
build:
context: docker
dockerfile: development/nginx/Dockerfile
volumes:
- ./api:/app
depends_on:
- api-php-fpm
- mysql
ports:
- "8088:80"
- "8089:80"
api-php-fpm:
build:
context: docker
dockerfile: development/php-fpm/Dockerfile
environment:
APP_ENV: dev
APP_DEBUG: 1
PHP_IDE_CONFIG: serverName=API
volumes:
- ./api:/app
api-php-cli:
build:
context: docker
dockerfile: development/php-cli/Dockerfile
environment:
APP_ENV: dev
APP_DEBUG: 1
volumes:
- ./api:/app
mysql:
build:
context: docker
dockerfile: development/mysql/Dockerfile
ports:
- "3320:3306"
volumes:
- "./volumes/mysql:/var/lib/mysql"
environment:
MYSQL_DATABASE: brainstack
MYSQL_USER: brainstack
MYSQL_PASSWORD: brainstack
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
command:
- '--default-authentication-plugin=mysql_native_password'
- '--character-set-server=utf8mb4'