-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.dev.yml
49 lines (41 loc) · 1006 Bytes
/
docker-compose.dev.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
48
49
version: "3.1"
services:
apache:
build: .docker/apache
image: mrpassword/apache
container_name: mrpassword-apache
links:
- php-fpm
ports:
- "8081:80"
volumes:
- .:/app
- sock:/sock
working_dir: /app
php-fpm:
build: .docker/php-fpm-xdebug
image: mrpassword/php-fpm-xdebug
container_name: mrpassword-php-fpm-xdebug
links:
- mysql
volumes:
- .:/app
- sock:/sock
working_dir: /app
mysql:
build: .docker/mysql
image: mrpassword/mysql
container_name: mrpassword-mysql
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_DATABASE=mrpassword
- MYSQL_USER=mrpassword
- MYSQL_PASSWORD=mrpassword
ports:
- "3306:3306"
networks:
default:
external:
name: mrpassword
volumes:
sock: