forked from Trust-Analysis/-Rug-Pull-Detector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 990 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (39 loc) · 990 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
37
38
39
40
41
42
version: '3.8'
services:
backend:
build:
context: .
dockerfile: Dockerfile.Backend-test
container_name: rug-pull-backend
user: "${UID:-1000}:${GID:-1000}"
volumes:
- ./backend:/app/backend:z
- ${DOCKER_SOCKET:-/var/run/docker.sock}:/var/run/docker.sock
environment:
- CI=true
- PYTHONUNBUFFERED=1
command: pytest backend/ -v
frontend:
build:
context: .
dockerfile: Dockerfile.Frontend-test
container_name: rug-pull-frontend
user: "${UID:-1000}:${GID:-1000}"
volumes:
- ./:/app:z
- /app/node_modules
- ${DOCKER_SOCKET:-/var/run/docker.sock}:/var/run/docker.sock
environment:
- CI=true
ports:
- "3000:3000"
command: npm test -- --watchAll=false
websocket-server:
build:
context: ./websocket-server
dockerfile: Dockerfile
container_name: rug-pull-websocket-server
ports:
- "8080:8080"
environment:
- RUST_LOG=info