🏡 index : github.com/captn3m0/nebula.git

author Nemo <me@captnemo.in> 2019-11-04 1:40:18.0 +05:30:00
committer Nemo <me@captnemo.in> 2019-11-04 1:40:18.0 +05:30:00
commit
f02ee532ad52fc0322f4620150001090cdd92b34 [patch]
tree
7e842f39a5a88a209e36150526949af75e99ad28
parent
557a0af80d5b4a11039e2fc1caac962b13ac9e59
download
f02ee532ad52fc0322f4620150001090cdd92b34.tar.gz

mount books as read-only



Diff

 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
+++ a/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 @@
    {
      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"