File tree Expand file tree Collapse file tree 3 files changed +47
-2
lines changed Expand file tree Collapse file tree 3 files changed +47
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ FRONTEND_REPO_URL=github.com/perfetti/react1-app.git
6
6
BACKEND_REPO_URL = github.com/perfetti/react2-app.git
7
7
API_REPO_URL = github.com/perfetti/rails-app.git
8
8
9
- # Repository References
9
+ # Repository References, these can be overwritten in their repos
10
+ # To make is so we can run against different branches from their repos
10
11
FRONTEND_REF = main
11
12
BACKEND_REF = main
12
13
API_REF = main
Original file line number Diff line number Diff line change 2
2
source ./setup_local.sh
3
3
4
4
# Run Docker Compose
5
- docker-compose up --build -d
5
+ docker-compose -f docker-compose.local.yaml up --build
Original file line number Diff line number Diff line change
1
+ services :
2
+ frontend :
3
+ extends :
4
+ file : docker-compose.yaml
5
+ service : frontend
6
+ volumes :
7
+ - ./repo_refs/react1-app:/app
8
+ backend :
9
+ extends :
10
+ file : docker-compose.yaml
11
+ service : backend
12
+ volumes :
13
+ - ./repo_refs/react2-app:/app
14
+ api :
15
+ extends :
16
+ file : docker-compose.yaml
17
+ service : api
18
+ depends_on :
19
+ db :
20
+ condition : service_healthy
21
+ volumes :
22
+ - ./repo_refs/rails-app:/app
23
+ db :
24
+ extends :
25
+ file : docker-compose.yaml
26
+ service : db
27
+
28
+ nginx :
29
+ extends :
30
+ file : docker-compose.yaml
31
+ service : nginx
32
+ volumes :
33
+ - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
34
+ depends_on :
35
+ - api
36
+ - frontend
37
+ - backend
38
+
39
+ networks :
40
+ app-network :
41
+ driver : bridge
42
+
43
+ volumes :
44
+ postgres_data :
You can’t perform that action at this time.
0 commit comments