-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (39 loc) · 922 Bytes
/
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
version: '3.2'
services:
app:
build:
dockerfile: .docker/php/Dockerfile
context: .
args:
UID: $U_ID
ports:
- 8080:80
- 4200:4200
volumes:
- .docker/apache/000-default_dev.allow_all.conf:/etc/apache2/sites-available/000-default.conf:ro
- .docker/php/conf/memory_limit.ini:/usr/local/etc/php/conf.d/memory_limit.ini:ro
- .docker/php/conf/xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini:ro
- ./:/var/www
depends_on:
- db
- phpmyadmin
- mailcatcher
db:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
volumes:
- .docker/mysql:/docker-entrypoint-initdb.d
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- 8081:80
environment:
- PMA_HOST=db
depends_on:
- db
mailcatcher:
image: schickling/mailcatcher
ports:
- 8082:1080