summaryrefslogtreecommitdiffstats
path: root/docker/1.3/Dockerrun.aws
diff options
context:
space:
mode:
Diffstat (limited to 'docker/1.3/Dockerrun.aws')
-rw-r--r--docker/1.3/Dockerrun.aws/.ebextensions/01_files.config14
-rwxr-xr-xdocker/1.3/Dockerrun.aws/Dockerrun.aws.json13
2 files changed, 27 insertions, 0 deletions
diff --git a/docker/1.3/Dockerrun.aws/.ebextensions/01_files.config b/docker/1.3/Dockerrun.aws/.ebextensions/01_files.config
new file mode 100644
index 000000000..7f40a8b34
--- /dev/null
+++ b/docker/1.3/Dockerrun.aws/.ebextensions/01_files.config
@@ -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
diff --git a/docker/1.3/Dockerrun.aws/Dockerrun.aws.json b/docker/1.3/Dockerrun.aws/Dockerrun.aws.json
new file mode 100755
index 000000000..d4027e67c
--- /dev/null
+++ b/docker/1.3/Dockerrun.aws/Dockerrun.aws.json
@@ -0,0 +1,13 @@
+{
+ "AWSEBDockerrunVersion": "1",
+ "Image": {
+ "Name": "mattermost/platform:1.3",
+ "Update": "true"
+ },
+ "Ports": [
+ {
+ "ContainerPort": "80"
+ }
+ ],
+ "Logging": "/var/log/"
+}