-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose57.yml
95 lines (88 loc) · 2.58 KB
/
docker-compose57.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: '3'
services:
nginx:
image: nginx:1.15-alpine
environment:
- TZ=Europe/Berlin
ports:
- "57874:57874"
- "57880:57880"
- "57881:57881"
volumes:
- shopware57_php74:/var/www/shopware57_php74:delegated
- shopware57_php80:/var/www/shopware57_php80:delegated
- shopware57_php81:/var/www/shopware57_php81:delegated
- ${PROJECT_DIR}:/opt/host:delegated
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/include.shopware.conf:/etc/nginx/include.shopware.conf
- ./nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf
links:
- shopware57_php74
- shopware57_php80
- shopware57_php81
- mysql
depends_on:
- shopware57_php74
- shopware57_php80
- shopware57_php81
shopware57_php74:
image: solutiondrive/docker-shopware-container:shopware5.7.7-php7.4
environment:
- TZ=Europe/Berlin
- DB_DATABASE=shopware57_php74
- WEB_HOST=localhost:57874
volumes:
- shopware57_php74:/var/www/shopware57_php74:delegated
- ${PROJECT_DIR}:/opt/host:delegated
- ./php/php.ini:/usr/local/etc/php/conf.d/zzz-override-php.ini
- ./php/www.conf:/usr/local/etc/php-fpm.d/www.conf
links:
- mysql
depends_on:
- mysql
shopware57_php80:
image: solutiondrive/docker-shopware-container:shopware5.7.7-php8.0
environment:
- TZ=Europe/Berlin
- DB_DATABASE=shopware57_php80
- WEB_HOST=localhost:57880
volumes:
- shopware57_php80:/var/www/shopware57_php80:delegated
- ${PROJECT_DIR}:/opt/host:delegated
- ./php/php.ini:/usr/local/etc/php/conf.d/zzz-override-php.ini
- ./php/www.conf:/usr/local/etc/php-fpm.d/www.conf
links:
- mysql
depends_on:
- mysql
shopware57_php81:
image: solutiondrive/docker-shopware-container:shopware5.7.7-php8.1
environment:
- TZ=Europe/Berlin
- DB_DATABASE=shopware57_php81
- WEB_HOST=localhost:57881
volumes:
- shopware57_php81:/var/www/shopware57_php81:delegated
- ${PROJECT_DIR}:/opt/host:delegated
- ./php/php.ini:/usr/local/etc/php/conf.d/zzz-override-php.ini
- ./php/www.conf:/usr/local/etc/php-fpm.d/www.conf
links:
- mysql
depends_on:
- mysql
mysql:
image: mysql:5.7.20
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_ALLOW_EMPTY_PASSWORD=false
- MYSQL_DATABASE=test
ports:
- "56331:3306"
mailhog:
image: mailhog/mailhog:v1.0.0
ports:
- "8055:8025"
volumes:
shopware57_php74:
shopware57_php80:
shopware57_php81: