-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (47 loc) · 1.22 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
47
version: '3'
services:
meetyou-nginx:
build:
context: ./meetyou/docker/dev
dockerfile: nginx.docker
volumes:
- ./meetyou:/app
depends_on:
- meetyou-php-fpm
ports:
- "8080:80"
meetyou-php-fpm:
build:
context: ./meetyou/docker/dev
dockerfile: php-fpm.docker
volumes:
- ./meetyou:/app
environment:
XDEBUG_CONFIG: "remote_connect_back=1; remote_enable=1;"
PHP_IDE_CONFIG: "serverName=meetyou"
meetyou-php-cli:
build:
context: ./meetyou/docker/dev
dockerfile: php-cli.docker
volumes:
- ./meetyou:/app
- composer:/root/.composer/cache
meetyou-mysql:
image: mysql:5.7.24
volumes:
- meetyou-mysql:/var/lib/mysql
ports:
- "33060:3306"
environment:
MYSQL_DATABASE: meetyou
MYSQL_USER: meetyou
MYSQL_PASSWORD: meetyou
MYSQL_ROOT_PASSWORD: meetyou
meetyou-node:
image: node:latest
volumes:
- ./meetyou:/app
working_dir: /app
volumes:
composer:
meetyou-mysql: