-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yaml
102 lines (93 loc) · 2.56 KB
/
compose.yaml
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
96
97
98
99
100
101
102
x-env: &env
APP_ENV: prod
APP_DEBUG: 1
PROJECT_ROOT: /var/www/html
MYSQL_ROOT_PASSWORD: app
MYSQL_DATABASE: shopware
ADMINER_DEFAULT_SERVER: database
SHOPWARE_HTTP_CACHE_ENABLED: 0
DATABASE_URL: mysql://root:app@database:3306/shopware
APP_SECRET: secret
APP_URL: http://localhost:8011
MAILER_DSN: smtp://mailpit:1025
MAILPIT_BASE_URL: http://localhost:8013
# TEST_WEB_INSTALLER: 1
# SHOPWARE_SKIP_WEBINSTALLER: 0
# SHOPWARE_DISABLE_UPDATE_CHECK: '0'
# SW_RECOVERY_NEXT_VERSION: 6.6.9999999.9999999
# SW_RECOVERY_NEXT_BRANCH: dev-trunk
# SW_RECOVERY_REPOSITORY: '{"type": "path", "url": "custom/packages/*", "options": { "symlink": true } }'
INSTALL_LOCALE: en-US
INSTALL_CURRENCY: USD
PHP_OPCACHE_VALIDATE_TIMESTAMPS: 1
x-service: &service
environment:
<<: *env
networks:
- local
x-shopware: &shopware-65
environment:
<<: *env
DATABASE_URL: mysql://root:app@database:3306/shopware_65
MYSQL_DATABASE: shopware_65
APP_URL: http://localhost:8021
networks:
- local
image: ghcr.io/shopware/shopware/ci-e2e:v6.5.x
volumes:
- jwt:/var/www/html/config/jwt
- media:/var/www/html/public/media
- theme:/var/www/html/public/theme
- bundles:/var/www/html/public/bundles
- thumbnail:/var/www/html/public/thumbnail
- cache:/var/www/html/var/cache
services:
database:
<<: *service
image: mysql:8.0
entrypoint:
[
"sh",
"-c",
"docker-entrypoint.sh mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --sql-require-primary-key=ON"
]
tmpfs:
- /var/lib/mysql:uid=999,gid=999
adminer:
<<: *service
image: adminer:latest
depends_on: [ database ]
ports:
- '8012:8080'
mailpit:
<<: *service
image: axllent/mailpit
ports:
- 8013:8025
shopware:
<<: *service
image: ghcr.io/shopware/shopware/ci-e2e:trunk
depends_on: [ database, mailpit ]
ports:
- '8011:8000'
init-65:
<<: *shopware-65
depends_on: [ database, mailpit ]
entrypoint: ['sh', '/init.sh']
user: root
shopware-65:
<<: *shopware-65
depends_on:
init-65:
condition: service_completed_successfully
ports:
- '8021:8000'
volumes:
jwt:
media:
theme:
bundles:
thumbnail:
cache:
networks:
local: