-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
109 lines (109 loc) · 3.25 KB
/
docker-compose.yml
File metadata and controls
109 lines (109 loc) · 3.25 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
services:
db:
hostname: db
image: mongo:7
environment:
- MONGO_INITDB_ROOT_USERNAME=test
- MONGO_INITDB_ROOT_PASSWORD=test1234
volumes:
- type: bind
source: ./db
target: /data/db
logging:
driver: none
backend:
depends_on:
- db
hostname: backend
build:
context: ./
dockerfile: Dockerfile.backend.dev
env_file:
- ./backend/.env
volumes:
- type: bind
source: ./backend/src
target: /app/backend/src
- type: bind
source: ./backend/tsconfig.json
target: /app/backend/tsconfig.json
- type: bind
source: ./backend/logs
target: /app/backend/logs
- type: bind
source: ./backups
target: /app/backend/backups
- type: bind
source: ./uploads
target: /app/backend/uploads
- type: bind
source: ./backend/docs
target: /app/backend/docs
- type: bind
source: ./backend/custom-package.json
target: /app/backend/custom-package.json
- type: bind
source: ./backend/additional
target: /app/backend/additional
- type: bind
source: ./backend/events
target: /app/backend/events
- type: bind
source: ./backend/functions
target: /app/backend/functions
- type: bind
source: ./backend/jobs
target: /app/backend/jobs
- type: bind
source: ./backend/plugins
target: /app/backend/plugins
- type: bind
source: ./README.md
target: /app/README.md
ui:
depends_on:
- backend
hostname: ui
build:
context: ./
dockerfile: Dockerfile.ui.dev
env_file:
- ./ui/.env
volumes:
- type: bind
source: ./backend/src
target: /app/backend/src
- type: bind
source: ./backend/types
target: /app/backend/types
- type: bind
source: ./ui/src
target: /app/ui/src
- type: bind
source: ./ui/public
target: /app/ui/public
- type: bind
source: ./ui/vite.config.ts
target: /app/ui/vite.config.ts
- type: bind
source: ./ui/index.html
target: /app/ui/index.html
- type: bind
source: ./ui/tsconfig.json
target: /app/ui/tsconfig.json
- type: bind
source: ./ui/tailwind.config.cjs
target: /app/ui/tailwind.config.cjs
- type: bind
source: ./ui/postcss.config.cjs
target: /app/ui/postcss.config.cjs
proxy:
depends_on:
- backend
- ui
hostname: proxy
build:
context: ./proxy
dockerfile: Dockerfile
ports:
- '8080:8080'