forked from shyim/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-advanced.yml
93 lines (93 loc) · 2.46 KB
/
docker-compose-advanced.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
version: "3.8"
services:
mysql:
image: mysql:5.7
volumes:
- mysql-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: shopware
MYSQL_USER: shopware
MYSQL_PASSWORD: shopware
maintenance:
image: shyim/shopware:latest
depends_on:
- mysql
env_file:
- .env
command: ['maintenance']
volumes:
- state:/state
- plugins:/var/www/html/custom/plugins
- files:/var/www/html/files
- jwt:/var/www/html/config/jwt
- theme:/var/www/html/public/theme
- media:/var/www/html/public/media
- thumbnail:/var/www/html/public/thumbnail
- bundles:/var/www/html/public/bundles
- sitemap:/var/www/html/public/sitemap
shopware:
image: shyim/shopware:latest
command: ['web']
depends_on:
- maintenance
env_file:
- .env
environment:
DISABLE_ADMIN_WORKER: 'true'
ports:
- 80:80
volumes:
- plugins:/var/www/html/custom/plugins
- files:/var/www/html/files
- jwt:/var/www/html/config/jwt
- theme:/var/www/html/public/theme
- media:/var/www/html/public/media
- thumbnail:/var/www/html/public/thumbnail
- bundles:/var/www/html/public/bundles
- sitemap:/var/www/html/public/sitemap
worker:
image: shyim/shopware:latest
restart: always
depends_on:
- shopware
env_file:
- .env
command: ['cli', 'messenger:consume', '--memory-limit=1G', '--time-limit=60']
volumes:
- plugins:/var/www/html/custom/plugins
- files:/var/www/html/files
- jwt:/var/www/html/config/jwt
- theme:/var/www/html/public/theme
- media:/var/www/html/public/media
- thumbnail:/var/www/html/public/thumbnail
- bundles:/var/www/html/public/bundles
- sitemap:/var/www/html/public/sitemap
task:
image: shyim/shopware:latest
restart: always
depends_on:
- shopware
env_file:
- .env
command: ['cli', 'scheduled-task:run', '--memory-limit=1G', '--time-limit=60']
volumes:
- plugins:/var/www/html/custom/plugins
- files:/var/www/html/files
- jwt:/var/www/html/config/jwt
- theme:/var/www/html/public/theme
- media:/var/www/html/public/media
- thumbnail:/var/www/html/public/thumbnail
- bundles:/var/www/html/public/bundles
- sitemap:/var/www/html/public/sitemap
volumes:
state:
mysql-data:
plugins:
files:
jwt:
theme:
media:
thumbnail:
bundles:
sitemap: