From 3b90fd15dbe447706a9d1eb7682887474058bd38 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 27 Feb 2022 20:21:55 +0100 Subject: tiny progress on nextcloud but still bad --- app/bad.nextcloud/deploy/nextcloud.hcl | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'app/bad.nextcloud') diff --git a/app/bad.nextcloud/deploy/nextcloud.hcl b/app/bad.nextcloud/deploy/nextcloud.hcl index 8311bbe..45d1b6e 100644 --- a/app/bad.nextcloud/deploy/nextcloud.hcl +++ b/app/bad.nextcloud/deploy/nextcloud.hcl @@ -37,6 +37,7 @@ job "nextcloud" { "secrets/litestream.yml:/etc/litestream.yml" ] } + user = "33" template { data = file("../config/litestream.yml") @@ -54,19 +55,24 @@ job "nextcloud" { config { image = "nextcloud:22.2.3-apache" ports = [ "http" ] + #entrypoint = [ "/bin/sh", "-c" ] + #command = "apache2-foreground" volumes = [ - "../alloc/data:/ephemeral", + "../alloc/data:/var/www/html/data", ] } + user = "33" template { data = <