forked from shopware/development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (46 loc) · 1.26 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
48
49
50
51
52
version: '3.7'
services:
app_server:
image: shopware/development:latest
links:
- app_mysql:mysql
- mailhog:mailhog
extra_hosts:
- "docker.vm:127.0.0.1"
volumes:
- ~/.composer:/.composer
tmpfs:
- /tmp:mode=1777
app_mysql:
build: dev-ops/docker/containers/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: app
MYSQL_PASSWORD: app
cypress:
image: cypress/included:3.8.1
tty: true
ipc: host
links:
- app_server:docker.vm
environment:
- CYPRESS_baseUrl=http://docker.vm:8000
- DISPLAY
volumes:
- ./vendor/shopware/platform/src/Storefront/Resources/app/storefront/test/e2e:/e2e-Storefront
- ./vendor/shopware/platform/src/Administration/Resources/app/administration/test/e2e:/e2e-Administration
# for Cypress to communicate with the X11 server pass this socket file
# in addition to any other mapped volumes
- /tmp/.X11-unix:/tmp/.X11-unix
entrypoint: /bin/bash
mailhog:
image: mailhog/mailhog
adminer:
image: adminer:latest
links:
- app_mysql:mysql
elasticsearch:
image: elastic/elasticsearch:7.1.1
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node