diff options
-rw-r--r-- | Dockerfile | 1 | ||||
-rw-r--r-- | conf/build.conf | 2 | ||||
-rw-r--r-- | conf/clog.conf | 8 |
3 files changed, 10 insertions, 1 deletions
@@ -33,6 +33,7 @@ RUN set -e \ && cd .. \ && rm -rf kore-${KORE_VERSION} \ && cd /clog \ + && cp -r assets /var/chroot/kore/. \ && kodev build \ && apk del .build-deps diff --git a/conf/build.conf b/conf/build.conf index ad7518b..51707fb 100644 --- a/conf/build.conf +++ b/conf/build.conf @@ -5,7 +5,7 @@ # of a dynamic library. If you set this to yes you must also # set kore_source together with kore_flavor. # single_binary=yes -# kore_source=/home/mcvady/working/kore/ +# kore_source=/home/mcvady/working/kore-4.2.0/ # kore_flavor=NOTLS=1 PGSQL=1 INSTALL_SINGLE_BINARY=1 # The flags below are shared between flavors diff --git a/conf/clog.conf b/conf/clog.conf index 82c3df7..ca23f0a 100644 --- a/conf/clog.conf +++ b/conf/clog.conf @@ -9,6 +9,11 @@ load ./clog.so init workers 4 +privsep worker { + runas kore + root /var/chroot/kore +} + # seccomp_tracing no seccomp_tracing yes @@ -28,4 +33,7 @@ domain * { route ^/posts/[a-z0-9\-]+$ { handler post } + + # route /test_json render_posts_json + } |