Merge pull request #456 from mattermost/mm-1960

Fixes mm-1960 allows upload of files over 1MB to Elastic Beanstalk
Этот коммит содержится в:
Joram Wilander
2015-08-25 08:55:29 -04:00
родитель e8731133d2 8519eb3f49
Коммит 70da0dbec6
7 изменённых файлов: 30 добавлений и 2 удалений

Просмотреть файл

@@ -103,14 +103,14 @@ Local Machine Setup (Docker)
AWS Elastic Beanstalk Setup (Docker)
------------------------------------
1. Create a new Elastic Beanstalk Docker application using the [Dockerrun.aws.json](docker/0.6/Dockerrun.aws.json) file provided.
1. Create a new Elastic Beanstalk Docker application using the [Dockerrun.aws.zip](docker/0.6/Dockerrun.aws//Dockerrun.aws.zip) file provided.
1. From the AWS console select Elastic Beanstalk.
2. Select "Create New Application" from the top right.
3. Name the application and press next.
4. Select "Create a web server" environment.
5. If asked, select create an IAM role and instance profile and press next.
6. For predefined configuration select under Generic: Docker. For environment type select single instance.
7. For application source, select upload your own and upload Dockerrun.aws.json from [docker/0.6/Dockerrun.aws.json](docker/0.6/Dockerrun.aws.json). Everything else may be left at default.
7. For application source, select upload your own and upload Dockerrun.aws.zip from [Dockerrun.aws.zip](docker/0.6/Dockerrun.aws//Dockerrun.aws.zip). Everything else may be left at default.
8. Select an environment name, this is how you will refer to your environment. Make sure the URL is available then press next.
9. The options on the additional resources page may be left at default unless you wish to change them. Press Next.
10. On the configuration details place. Select an instance type of t2.small or larger.

Двоичные данные
docker/0.6/Dockerrun.aws.zip Обычный файл

Двоичный файл не отображается.

Просмотреть файл

@@ -0,0 +1,14 @@
files:
"/etc/nginx/conf.d/proxy.conf":
mode: "000755"
owner: root
group: root
content: |
client_max_body_size 50M;
"/opt/elasticbeanstalk/hooks/appdeploy/post/init.sh":
mode: "000755"
owner: root
group: root
content: |
#!/usr/bin/env bash
gpasswd -a ec2-user docker

Двоичные данные
docker/dev/Dockerrun.aws.zip Обычный файл

Двоичный файл не отображается.

Просмотреть файл

@@ -0,0 +1,14 @@
files:
"/etc/nginx/conf.d/proxy.conf":
mode: "000755"
owner: root
group: root
content: |
client_max_body_size 50M;
"/opt/elasticbeanstalk/hooks/appdeploy/post/init.sh":
mode: "000755"
owner: root
group: root
content: |
#!/usr/bin/env bash
gpasswd -a ec2-user docker