docker: save stdin/stderr
@@ -22,4 +22,9 @@ FROM rust:1.32.0
COPY --from=builder /usr/src/josh/target/debug/josh-proxy /usr/bin/josh-proxy
-CMD RUST_BACKTRACE=1 josh-proxy --local=/tmp/josh-scratch/ --remote=https://gerrit.int.esrlabs.com
+VOLUME /data/logs
+
+CMD RUST_BACKTRACE=1 josh-proxy\
+ --local=/tmp/josh-scratch/\
+ --remote=https://gerrit.int.esrlabs.com\
+ &> /data/logs/$(date).log
