-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
45 lines (40 loc) · 1.14 KB
/
docker-compose.yaml
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
# Use root/example as user/password credentials
version: '3.7'
services:
webserver:
image: phpstorm/php-apache:8.2-xdebug3.2
restart: always
ports:
- "8089:80"
volumes:
- ./:/var/www/html
- ./dist/php.ini:/usr/local/etc/php/conf.d/local.ini
environment:
XDEBUG_CONFIG: remote_host=host.docker.internal
mysql-csvimporter:
image: mysql
restart: always
ports:
- "3306:3306"
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# (this is just an example, not intended to be a production configuration)
command: --default-authentication-plugin=mysql_native_password
volumes:
- MYSQL_CSVIMPORTER:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_USER: csvimporter
MYSQL_PASSWORD: csvimporterpassword
adminer:
image: adminer
restart: always
ports:
- "8080:8080"
memcached:
image: memcached:latest
restart: always
ports:
- "12221:11211"
volumes:
MYSQL_CSVIMPORTER:
name: MYSQL_CSVIMPORTER