From 22c1ee2b9cbc01bd35b152a2369287f1de36ca7c Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 11 Mar 2021 21:28:51 -0800 Subject: [PATCH] rename nexus dir --- Dockerfile | 4 ++-- default | 2 ++ start | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7110858..e500bc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,8 @@ RUN useradd --create-home nexus && \ ln -s /data/nexus_authorized_keys /home/nexus/.ssh/authorized_keys # Misc conf -RUN mkdir /start.d /nexus /var/run/sshd && \ - chown nexus /nexus && \ +RUN mkdir /start.d /data /var/run/sshd && \ + chown nexus /data && \ rm /etc/ssh/ssh_host_* && \ mkdir /etc/ssh/keys && \ sed -i -E 's/#?HostKey \/etc\/ssh\//HostKey \/data\/keys\//' /etc/ssh/sshd_config && \ diff --git a/default b/default index 72f93b8..0acb997 100644 --- a/default +++ b/default @@ -8,6 +8,8 @@ server { server_name localhost; #client_body_temp_path /data/tmp/; + #fastcgi_temp_path /data/tmp/; + #proxy_temp_path /data/tmp/; #auth_basic "Restricted"; #auth_basic_user_file /data/htpasswd; diff --git a/start b/start index 0a9142b..cb04277 100755 --- a/start +++ b/start @@ -3,7 +3,7 @@ # run everything in start.d find /start.d -type f -executable -exec {} \; -chown nexus /nexus +chown nexus /data # start services exec supervisord