forked from rocket-admin/rocketadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
106 lines (97 loc) · 2.18 KB
/
Copy pathdocker-compose.yml
File metadata and controls
106 lines (97 loc) · 2.18 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
version: "3.7"
services:
backend:
build:
context: backend
ports:
- 3000:3000
env_file: ./backend/.development.env
volumes:
- ./backend/dist:/app/dist
- ./backend/src:/app/src
- ./backend/src/migrations:/app/src/migrations
depends_on:
- postgres
- testDB
- testMySQL-e2e-testing
- testPg-e2e-testing
- mssql-e2e-testing
- nestjsTesting
- test-oracle-e2e-testing
links:
- postgres
- testDB
- testMySQL-e2e-testing
- testPg-e2e-testing
- mssql-e2e-testing
- nestjsTesting
- test-oracle-e2e-testing
command: ["yarn", "start:dev"]
frontend:
build:
context: frontend
environment:
API_ROOT: http://backend:3000
ports:
- 80:80
depends_on:
- backend
links:
- backend
testDB:
image: postgres
ports:
- 8000:8000
environment:
POSTGRES_PASSWORD: 123
command: postgres -c 'max_connections=300'
nestjsTesting:
image: postgres
ports:
- 8001:5432
environment:
POSTGRES_PASSWORD: postgres
command: postgres -c 'max_connections=300'
testMySQL-e2e-testing:
image: mysql:8.0.23
ports:
- 3308:3306
environment:
MYSQL_ROOT_PASSWORD: 123
MYSQL_DATABASE: testDB
testPg-e2e-testing:
image: postgres
ports:
- 9002:5432
environment:
POSTGRES_PASSWORD: 123
command: postgres -c 'max_connections=300'
postgres:
image: postgres
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: abc123
command: postgres -c 'max_connections=300'
mssql-e2e-testing:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
- SA_PASSWORD=yNuXf@6T#BgoQ%U6knMp
- ACCEPT_EULA=Y
ports:
- "5434:1433"
test-oracle-e2e-testing:
image: gvenzl/oracle-xe:latest
ports:
- 1521:1521
environment:
ORACLE_PASSWORD: 12345
# rocketadmin-agent:
# build:
# context: rocketadmin-agent
# ports:
# - 8088:8088
# volumes:
# - ./rocketadmin-agent/dist:/app/dist
# - ./rocketadmin-agent/src:/app/src
# command: ["yarn", "start:dev"]