-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathdocker-compose.yml
52 lines (47 loc) · 1.14 KB
/
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
44
45
46
47
48
49
50
51
52
version: '2.0'
services:
redis:
image: redis:alpine
container_name: pimcore-redis
db:
image: mariadb:10.4
container_name: pimcore-mariadb
working_dir: /application
command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci, --innodb-file-format=Barracuda, --innodb-large-prefix=1, --innodb-file-per-table=1]
volumes:
- pimcore-database:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=ROOT
- MYSQL_DATABASE=pimcore
- MYSQL_USER=pimcore
- MYSQL_PASSWORD=pimcore
adminer:
image: adminer
restart: always
ports:
- 2002:8080
php:
image: dpfaffenbauer/pimcore:PHP7.2-apache
container_name: pimcore-php
volumes:
- .:/var/www/html:cached
ports:
- "2000:80"
- "2001:443"
links:
- db:db
- redis:redis
php-debug:
image: dpfaffenbauer/pimcore:PHP7.2-apache-debug
container_name: pimcore-debug-php
volumes:
- .:/var/www/html:cached
ports:
- "2006:80"
links:
- db:db
- redis:redis
environment:
- PHP_IDE_CONFIG="serverName=localhost"
volumes:
pimcore-database: