forked from boxwise/dropapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 910 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (30 loc) · 910 Bytes
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
version: '3.1'
services:
db_mysql:
image: mysql/mysql-server:8.0
command: --default-authentication-plugin=mysql_native_password --lower_case_table_names=1
environment:
MYSQL_ROOT_PASSWORD: dropapp_root
MYSQL_ROOT_HOST: '%'
MYSQL_DATABASE: dropapp_dev
volumes:
- ./.docker/data/mysql:/var/lib/mysql
ports:
- "9906:3306"
web:
build: .docker/php
depends_on:
- db_mysql
volumes:
- .:/var/www/html/
- ./.docker/php/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
- ./.docker/php/error_reporting.ini:/usr/local/etc/php/conf.d/error_reporting.ini
ports:
- "8100:80"
environment:
# WARNING: you do *not* want these environment variables set
# in a production environment, as they enable remote
# debugging
GOOGLE_CLOUD_PROJECT: DUMMY_ID
stdin_open: true
tty: true