From f02ee532ad52fc0322f4620150001090cdd92b34 Mon Sep 17 00:00:00 2001 From: Nemo Date: Mon, 4 Nov 2019 01:40:18 +0530 Subject: [PATCH] mount books as read-only --- elibsrv.tf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/elibsrv.tf b/elibsrv.tf index 8a98af9..83ba6c2 100644 --- a/elibsrv.tf +++ b/elibsrv.tf @@ -1,11 +1,11 @@ module "elibsrv" { name = "elibsrv" source = "./modules/container" - image = "captn3m0/elibsrv:v0.0.3" + image = "captn3m0/elibsrv" resource { - memory = 256 - memory_swap = 256 + memory = 512 + memory_swap = 512 } web { @@ -18,10 +18,12 @@ module "elibsrv" { { host_path = "/mnt/xwing/media/EBooks" container_path = "/books" + read_only = true }, { host_path = "/mnt/xwing/config/elibsrv" container_path = "/config" + read_only = true }, { host_path = "/mnt/xwing/cache/elibsrv"