File tree Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Expand file tree Collapse file tree 3 files changed +32
-4
lines changed Original file line number Diff line number Diff line change
1
+ version : " 3.3"
2
+ services :
3
+ reverseproxy :
4
+ build :
5
+ context : ./udagram-reverseproxy
6
+ image : udagram-reverseproxy:elcharitas
7
+ frontend :
8
+ build :
9
+ context : ./udagram-frontend
10
+ image : udagram-frontend:elcharitas
11
+ api_user :
12
+ build :
13
+ context : ./udagram-api-user
14
+ image : udagram-api-user:elcharitas
15
+ api_feed :
16
+ build :
17
+ context : ./udagram-api-feed
18
+ image : udagram-api-feed:elcharitas
Original file line number Diff line number Diff line change 1
1
version : " 3.3"
2
2
services :
3
3
reverseproxy :
4
- build : ./ udagram-reverseproxy
4
+ image : udagram-reverseproxy:elcharitas
5
5
ports :
6
6
- 8080:8080
7
7
restart : always
8
8
depends_on :
9
9
- api-user
10
10
- api-feed
11
11
frontend :
12
- build : ./ udagram-frontend
12
+ image : udagram-frontend:elcharitas
13
13
ports :
14
14
- " 3000:80"
15
15
api-user :
16
- build : ./ udagram-api-user
16
+ image : udagram-api-user:elcharitas
17
17
environment :
18
18
URL : " http://localhost:3000"
19
19
AWS_REGION : $AWS_REGION
@@ -25,7 +25,7 @@ services:
25
25
POSTGRES_HOST : $POSTGRES_HOST
26
26
JWT_SECRET : $JWT_SECRET
27
27
api-feed :
28
- build : ./ udagram-api-feed
28
+ image : udagram-api-feed:elcharitas
29
29
volumes :
30
30
- $HOME/.aws:/root/.aws
31
31
environment :
Original file line number Diff line number Diff line change
1
+ # run env setup script
2
+ sh ./set_env.sh;
3
+ # Make sure the Docker services are running in your local machine
4
+ # Remove unused and dangling images
5
+ docker image prune --all
6
+ # Run this command from the directory where you have the "docker-compose-build.yml" file present
7
+ docker-compose -f docker-compose-build.yml build --parallel
8
+
9
+ # Run this command from the directory where you have the "docker-compose.yml" file present
10
+ docker-compose up
You can’t perform that action at this time.
0 commit comments