-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml.dev
46 lines (41 loc) · 1009 Bytes
/
docker-compose.yml.dev
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
version: '3'
networks:
default:
name: phkapa
services:
mariadb:
image: mariadb
container_name: phkapa-db
environment:
MYSQL_ROOT_PASSWORD: docker
MYSQL_DATABASE: phkapa
MYSQL_USER: docker
MYSQL_PASSWORD: docker
volumes:
- ./docker/db:/var/lib/mysql:cached
ports:
- '3306:3306'
webserver:
image: phalkaline/php-apache-dev-wkhtmltopdf:7.4
container_name: phkapa-webserver
working_dir: /application
volumes:
- ./:/application:cached
environment:
- XDEBUG_MODE=debug
- XDEBUG_CLIENT_HOST=172.29.240.1
- XDEBUG_CLIENT_PORT=9003
- XDEBUG_IDE_KEY=docker
- XDEBUG_START_WITH_REQUEST=yes
- WEB_DOCUMENT_ROOT=/application/app/webroot
- DATABASE_URL=mysql://docker:docker@phkapa-db/phkapa
ports:
- "80:80"
- "443:443"
phpmyadmin:
image: phpmyadmin:5.2.0
container_name: phkapa-phpmyadmin
ports:
- 8081:80
environment:
- PMA_ARBITRARY=1