mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
efc0bbaa9f
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
9 lines
437 B
Text
9 lines
437 B
Text
# 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
|