Add docker-compose file for use in AWS AMIs
This commit is contained in:
parent
4dc8da3cbb
commit
d546f0114e
21
deploy/aws_ami/docker-compose.yml
Normal file
21
deploy/aws_ami/docker-compose.yml
Normal file
|
|
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user