-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (56 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
60 lines (56 loc) · 1.06 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
version: "3.8"
services:
core:
build:
context: ./server
dockerfile: Dockerfile
ports:
- "8080:8080"
env_file:
- .env
environment:
- JWT_SECRET=your_secret_key
volumes:
- ./server:/app
networks:
- app-network
build_machine:
build:
context: ./server/build_machine
dockerfile: Dockerfile
ports:
- "8081:8081"
env_file:
- .env
environment:
- CORE_API_URL=http://core:8080
- GENEZIO_TOKEN=${GENEZIO_TOKEN}
- PORT=8081
- NODE_ENV=development
- CI=true
- GENEZIO_NO_TELEMETRY=1
- HOME=/tmp
volumes:
- ./server/build_machine:/app
networks:
- app-network
frontend:
build:
context: ./client
dockerfile: Dockerfile
ports:
- "5173:5173"
env_file:
- .env
environment:
- VITE_API_URL=http://localhost:8080
- HOST=0.0.0.0
volumes:
- ./client/src:/app/src
networks:
- app-network
depends_on:
- core
networks:
app-network:
driver: bridge