-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 979 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 979 Bytes
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
services:
node:
image: node:24
user: '${UID:-1000}:${GID:-1000}'
volumes:
- ./:/var/www/jmask
working_dir: /var/www/jmask
network_mode: host
sandbox:
image: node:24
user: '${UID:-1000}:${GID:-1000}'
volumes:
- ./:/var/www/jmask
working_dir: /var/www/jmask
command: 'yarn sandbox:serve'
labels:
traefik.port: 5173
traefik.enable: 'true'
traefik.http.routers.jmask-sandbox.rule: 'HostRegexp(`sandbox.jmask.{[^.]+}`)'
traefik.http.routers.jmask-sandbox.priority: 1
traefik.http.routers.jmask-sandbox.service: jmask-sandbox
traefik.http.services.jmask-sandbox.loadbalancer.server.port: '5173'
playwright:
image: mcr.microsoft.com/playwright:v1.58.2-noble
user: '${UID:-1000}:${GID:-1000}'
working_dir: /var/www/jmask
volumes:
- ./:/var/www/jmask
environment:
CI: 'true'
ipc: host
init: true
network_mode: host
command: 'yarn test:e2e'