-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
78 lines (70 loc) · 1.7 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
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
version: "3"
services:
qualix:
build: .docker
container_name: 'qualix-app'
ports:
- '80:80'
depends_on:
- db
- node
volumes:
- .:/var/www
- ./public/.htaccess.docker:/var/www/public/.htaccess
extra_hosts:
- "host.docker.internal:host-gateway"
db:
image: mariadb:10.3
container_name: 'qualix-db'
ports:
- '3306:3306'
environment:
- MYSQL_DATABASE=qualix
- MYSQL_ROOT_PASSWORD=will-be-randomized-and-output-on-the-console
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_USER=qualix
- MYSQL_PASSWORD=qualix
mail:
image: schickling/mailcatcher@sha256:994aba62ace1a4442e796041b6c6c96aed5eca9de4a6584f3d5d716f1d7549ed
container_name: 'qualix-mail'
ports:
- '1080:1080'
node:
image: node:14
container_name: 'qualix-npm'
working_dir: '/app'
volumes:
- .:/app
command: bash -c "npm install && scripts/install-twemoji.sh && npm run watch"
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: 'qualix-phpmyadmin'
depends_on:
- db
ports:
- '8081:80'
e2e:
image: cypress/included:10.8.0
working_dir: /e2e
environment:
- DISPLAY
- APP_BASE_URL=http://qualix
- CYPRESS_PROJECT=.
volumes:
- .:/e2e
- ./.docker/cypress-entrypoint.sh:/bin/entrypoint.sh
- /tmp/.X11-unix:/tmp/.X11-unix:rw
depends_on:
- qualix
- e2e-mocks
entrypoint:
- /bin/entrypoint.sh
command: []
e2e-mocks:
image: mockserver/mockserver
ports:
- '1090:1080'
#command: -logLevel WARN -serverPort 1090
docker-host:
image: qoomon/docker-host
cap_add: [ 'NET_ADMIN', 'NET_RAW' ]