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