Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fix AWS template fro awslogs

Michal Rutka937901020436
diff --git a/mvp/aws-cloudformation.template.yml b/mvp/aws-cloudformation.template.yml
index 6187ee5a9..a04dae587 100644
--- a/mvp/aws-cloudformation.template.yml
+++ b/mvp/aws-cloudformation.template.yml
@@ -309,7 +309,7 @@ Resources:
# Create volume for deployment (needed for SWARM due to concurency in compose-file)
# docker volume create openremote_deployment-data
# docker run --rm -v openremote_deployment-data:/deployment openremote/deployment:mvp
- wget https://github.com/openremote/openremote/raw/master/mvp/mvp-docker-compose.yml
+ wget https://github.com/openremote/openremote/raw/master/mvp/mvp-docker-compose-awslogs.yml
docker swarm init
if [ ${HostName} ] && [ ${DomainName} ]
then
@@ -333,7 +333,7 @@ Resources:
export EMAIL_PASSWORD=$(or configure_aws --secret ${AccessKeys.SecretAccessKey} --quiet)
export EMAIL_HOST=email-smtp.${AWS::Region}.amazonaws.com
export AWSLOGS_GROUP=${CloudFormationLogs}
- docker-compose -f mvp-docker-compose.yml -p openremote up -d
+ docker-compose -f mvp-docker-compose-awslogs.yml -p openremote up -d
echo USER=${AccessKeys} > access.txt
echo SECRET=${AccessKeys.SecretAccessKey} >> access.txt
echo export EMAIL_PASSWORD=$(or configure_aws --secret ${AccessKeys.SecretAccessKey} --quiet) >> access.txt