forked from nylas/nylas-mail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes to Docker and better docs/debugging
Summary: Fixes to docker ignore and readme Add ebextensions that allow us to more easily use docker Test Plan: manual Reviewers: juan, jackie, halla, spang Reviewed By: spang Differential Revision: https://phab.nylas.com/D3554
- Loading branch information
Showing
3 changed files
with
56 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,27 @@ | ||
n1_cloud_dist | ||
|
||
.git | ||
.gitignore | ||
README.md | ||
Procfile* | ||
*node_modules* | ||
docs | ||
.arcconfig | ||
.arclint | ||
arclib | ||
|
||
*.swp | ||
*~ | ||
.DS_Store | ||
node_modules | ||
**/node_modules | ||
dump.rdb | ||
*npm-debug.log | ||
storage/ | ||
lerna-debug.log | ||
newrelic_agent.log | ||
|
||
# Vim temp files | ||
*.swp | ||
*.swo | ||
|
||
# Elastic Beanstalk Files | ||
.elasticbeanstalk/* | ||
!.elasticbeanstalk/*.cfg.yml | ||
!.elasticbeanstalk/*.global.yml | ||
/packages/local-sync/spec-saved-state.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This lets you log in via `eb ssh` and access the docker daemon. | ||
# If we don't add the ec2-user to the docker group, then calls to docker | ||
# (like `docker ps`) will fail with `Cannot connect to the Docker daemon` | ||
# | ||
# See: https://blog.cloudinvaders.com/connect-to-docker-daemon-on-aws-beanstalk-ec2-instance/ | ||
commands: | ||
0_add_docker_group_to_ec2_user: | ||
command: gpasswd -a ec2-user docker | ||
test: groups ec2-user | grep -qv docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters