-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
42 lines (36 loc) · 1.06 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
version: '3'
services:
redis:
image: redis:alpine
environment:
- DOMAIN_NAME=redis.${BASEHOST:-pimcore.docker}
mysql:
image: docker.io/library/mysql:${MYSQLVERSION:-8}
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-toor}
- DOMAIN_NAME=mysql.${BASEHOST:-pimcore.docker}
command: --innodb-doublewrite=0 --lower-case-table-names=1 --innodb-page-size=32K
mailcatcher:
image: mailhog/mailhog
environment:
- DOMAIN_NAME=mailcatcher.${BASEHOST:-pimcore.docker}
application:
image: dockerwest/php-pimcore:${PHPVERSION:-8.0}
environment:
- C_UID=${C_UID:-1000}
- C_GID=${C_GID:-1000}
- DEVELOPMENT=${DEVELOPMENT:-1}
volumes:
- ${APPLICATION:-../pimcore}:/phpapp
links:
- mysql
- redis
- mailcatcher
nginx:
image: dockerwest/nginx-pimcore${PIMCOREVERSION:-5}:${NGINXVERSION:-stable}
environment:
- VIRTUAL_HOST=${BASEHOST:-pimcore.docker},${EXTRAHOSTS}
volumes:
- ${APPLICATION:-../pimcore}:/phpapp
links:
- application