File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed
Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change @@ -21,3 +21,15 @@ after_success:
2121 - docker push shonry27/multi-server
2222 - docker push shonry27/multi-worker
2323
24+ deploy :
25+ provider : elasticbeanstalk
26+ region : us-east-1
27+ app : multi-docker
28+ env : MultiDocker-env
29+ bucket_name : elasticbeanstalk-us-east-1-032386328462
30+ bucket_path : docker-multi
31+ on :
32+ branch : master
33+ access_key_id : $AWS_ACCESS_KEY
34+ secret_access_key :
35+ secure : $AWS_SECRET_KEY
Original file line number Diff line number Diff line change 1+ {
2+ "AWSEBDockerrunVersion" : 2 ,
3+ "containerDefinitions" : [
4+ {
5+ "name" : " client" ,
6+ "image" : " shonry27/multi-client" ,
7+ "hostname" : " client" ,
8+ "essential" : false
9+ },
10+
11+ {
12+ "name" : " api" ,
13+ "image" : " shonry27/multi-server" ,
14+ "hostname" : " api" ,
15+ "essential" : false
16+
17+ },
18+
19+ {
20+ "name" : " worker" ,
21+ "image" : " shonry27/multi-worker" ,
22+ "hostname" : " worker" ,
23+ "essential" : false
24+
25+ },
26+
27+ {
28+ "name" : " nginx" ,
29+ "image" : " shonry27/multi-nginx" ,
30+ "hostname" : " nginx" ,
31+ "essential" : true ,
32+ "portMappings" : [
33+ {
34+ "hostPort" : 80 ,
35+ "containerPort" : 80
36+ }
37+ ],
38+
39+ "links" : [" client" ," server" ]
40+
41+ }
42+ ]
43+ }
You can’t perform that action at this time.
0 commit comments