From d546f0114e791290474686afc3ee4d0ba0e6c17a Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Thu, 21 Oct 2021 11:12:33 +0530 Subject: [PATCH] Add docker-compose file for use in AWS AMIs --- deploy/aws_ami/docker-compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 deploy/aws_ami/docker-compose.yml diff --git a/deploy/aws_ami/docker-compose.yml b/deploy/aws_ami/docker-compose.yml new file mode 100644 index 0000000000..22951d2fed --- /dev/null +++ b/deploy/aws_ami/docker-compose.yml @@ -0,0 +1,21 @@ +version: "3" + +services: + appsmith: + image: index.docker.io/appsmith/appsmith-ce + container_name: appsmith + ports: + - "80:80" + - "443:443" + - "9001:9001" + volumes: + - ./stacks:/appsmith-stacks + labels: + com.centurylinklabs.watchtower.enable: "true" + + auto_update: + image: containrrr/watchtower:latest-dev + volumes: + - /var/run/docker.sock:/var/run/docker.sock + # Update check interval in seconds. + command: --interval 300 --label-enable --cleanup