-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
127 lines (117 loc) · 2.9 KB
/
docker-compose.dev.yml
File metadata and controls
127 lines (117 loc) · 2.9 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
restart: no
ports:
- 3000:3000
- 6006:6006
volumes:
- type: bind
source: .
target: /workspace
- type: volume
source: frontend-node-modules
target: /workspace/frontend/node_modules
environment:
- NODE_ENV=development
command: pnpm run dev
user: "${UID:-1000}:${GID:-1000}"
web:
restart: no
environment:
- SERVER_NAME=localhost
mock-page:
build:
context: ./mock-page
dockerfile: Dockerfile.dev
ports:
- 1313:1313
networks:
- rishu-app_network
legacy-frontend:
build:
context: ./legacy-frontend
dockerfile: Dockerfile.dev
restart: no
ports:
- 3001:3000
volumes:
- type: bind
source: .
target: /workspace
- type: volume
source: legacy-frontend-node-modules
target: /workspace/legacy-frontend/node_modules
environment:
- NODE_ENV=development
command: pnpm run dev
user: "${UID:-1000}:${GID:-1000}"
legacy-syllabus-frontend:
build:
context: ./legacy-syllabus-frontend
dockerfile: Dockerfile.dev
restart: no
depends_on:
- syllabus-backend
ports:
- 4000:4000
volumes:
- type: bind
source: .
target: /workspace
- type: volume
source: legacy-syllabus-frontend-node-modules
target: /workspace/legacy-syllabus-frontend/node_modules
environment:
- NODE_ENV=development
networks:
- rishu-app_network
command: pnpm run dev
user: "${UID:-1000}:${GID:-1000}"
syllabus-backend:
build:
context: ./syllabus-backend
dockerfile: Dockerfile.dev
restart: no
ports:
- 8080:8080
volumes:
- type: bind
source: .
target: /workspace
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=syllabus
command: go run src/cmd/api/main.go
user: "${UID:-1000}:${GID:-1000}"
syllabus-db:
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=syllabus
syllabus-scrape:
build:
context: ./syllabus-scrape
dockerfile: Dockerfile.dev
restart: no
volumes:
- type: bind
source: .
target: /workspace
- type: volume
source: syllabus-scrape-node-modules
target: /workspace/syllabus-scrape/node_modules
environment:
- NODE_ENV=development
networks:
- rishu-app_network
command: sleep infinity
user: "${UID:-1000}:${GID:-1000}"
volumes:
frontend-node-modules:
legacy-frontend-node-modules:
legacy-syllabus-frontend-node-modules:
syllabus-scrape-node-modules: