Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Commit

Permalink
Troubleshooting - Deploying to AWS (Again)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritsource committed Apr 15, 2019
1 parent 705705a commit 5d4c156
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ deploy:
provider: elasticbeanstalk
region: "ap-south-1"
app: Scheduler
env: Scheduler-env-1
env: Scheduler-env-0
bucket_name: elasticbeanstalk-ap-south-1-729767835831
bucket_path: Scheduler
on:
branch: master
access_key_id: $AWS_ACCESS_KEY
secret_access_key:
secure: "$AWS_SECRET_KEY"

# Unnecessary Comment
secure: "$AWS_SECRET_KEY"
1 change: 1 addition & 0 deletions Dockerrun.aws.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"image": "ritwik310/scheduler-client",
"hostname": "client",
"essential": false,
"links": [ "server" ],
"memory": 128
},
{
Expand Down
Empty file removed deploy.aws.sh
Empty file.
21 changes: 9 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,25 @@ services:
ports:
- '27017:27017'
nginx:
image: ritwik310/scheduler-nginx
# build:
# context: ./nginx
# dockerfile: Dockerfile
build:
context: ./nginx
dockerfile: Dockerfile
ports:
- '4001:80'
client:
image: ritwik310/scheduler-client
# build:
# context: ./client
# dockerfile: dev.Dockerfile
build:
context: ./client
dockerfile: dev.Dockerfile
volumes:
- /app/node_modules
- ./client:/app
environment:
- NODE_ENV=development
- SERVER_URI=server
server:
image: ritwik310/scheduler-server
# build:
# context: ./server
# dockerfile: dev.Dockerfile
build:
context: ./server
dockerfile: dev.Dockerfile
volumes:
- /app/node_modules
- ./server:/app
Expand Down

0 comments on commit 5d4c156

Please sign in to comment.