From 53a369fba5194cb78737e51db5418547c53dd687 Mon Sep 17 00:00:00 2001 From: Erik Stambaugh Date: Sun, 2 Jan 2022 13:01:20 -0800 Subject: [PATCH] Get basic nextcloud up and running with SSL --- nextcloud.tf | 12 +- roles/nextcloud/files/docker-compose.yaml | 41 +++- roles/nextcloud/files/nginx.conf | 239 ++++++++++++++++++++++ roles/nextcloud/tasks/main.yaml | 63 +++++- 4 files changed, 346 insertions(+), 9 deletions(-) create mode 100644 roles/nextcloud/files/nginx.conf diff --git a/nextcloud.tf b/nextcloud.tf index 9f279b1..f3dde6c 100644 --- a/nextcloud.tf +++ b/nextcloud.tf @@ -58,6 +58,8 @@ resource "aws_instance" "nextcloud" { # associate_public_ip_address = false + vpc_security_group_ids = [ module.nextcloud_sg.security_group_id ] + user_data = <