-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
76 lines (69 loc) · 1.72 KB
/
Copy pathdocker-compose.yml
File metadata and controls
76 lines (69 loc) · 1.72 KB
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
services:
qualix:
build: .docker
ports:
- '80:80'
depends_on:
- db
- vite
- worker-build
volumes:
- .:/var/www
- ./public/.htaccess.docker:/var/www/public/.htaccess
extra_hosts:
- "host.docker.internal:host-gateway"
db:
image: mariadb:10.6
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
ports:
- '1080:1080'
vite:
image: node:22
working_dir: '/app'
volumes:
- .:/app
command: bash -c "npm install && scripts/install-twemoji.sh && exec node_modules/.bin/vite"
ports:
- '5173:5173'
worker-build:
image: node:22
working_dir: '/app'
volumes:
- .:/app
command: bash -c "exec env WATCH_WORKER=true node_modules/.bin/vite build --config vite-workers.config.js"
e2e:
image: mcr.microsoft.com/playwright:v1.58.2-noble
network_mode: host
working_dir: /e2e
environment:
- DISPLAY
- APP_BASE_URL=http://localhost
volumes:
- .:/e2e
- ./.docker/e2e-entrypoint.sh:/bin/entrypoint.sh
- /tmp/.X11-unix:/tmp/.X11-unix:rw
depends_on:
- qualix
- e2e-mocks
entrypoint:
- /bin/entrypoint.sh
command: []
ports:
- '1100:1100'
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' ]