forked from pimcore/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (42 loc) · 1.04 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
version: '2.4'
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
ports:
- 8080:8080
php:
image: pimcore/pimcore:PHP7.4-apache
container_name: pimcore-php
volumes:
- .:/var/www/html:cached
ports:
- 80:80
- 443:443
depends_on:
- db
php-debug:
image: pimcore/pimcore:PHP7.4-apache-debug
container_name: pimcore-debug-php
volumes:
- .:/var/www/html:cached
ports:
- 88:80
environment:
- PHP_IDE_CONFIG="serverName=localhost"
volumes:
pimcore-database: