mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
set INNER_FILE_SERVER_ROOT
This commit is contained in:
parent
4a12869de9
commit
c804e2cb94
|
@ -8,6 +8,8 @@ RUN cd /tmp && \
|
|||
tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \
|
||||
rm -f seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz
|
||||
|
||||
RUN sed -i "s@.*INNER_FILE_SERVER_ROOT.*@INNER_FILE_SERVER_ROOT = os.environ.get('INNER_FILE_SERVER_ROOT')@" /tmp/seafile-server-${SEAFILE_VERSION}/seahub/seahub/settings.py
|
||||
|
||||
FROM alpine:3.9 AS pip
|
||||
|
||||
RUN apk add --no-cache \
|
||||
|
@ -83,6 +85,7 @@ ENV CCNET_CONF_DIR=/opt/seafile/conf/ccnet
|
|||
ENV SEAFILE_CONF_DIR=/opt/seafile/seafile-data
|
||||
ENV SEAFILE_CENTRAL_CONF_DIR=/opt/seafile/conf
|
||||
ENV SEAFILE_RPC_PIPE_PATH=/opt/seafile/seafile-server-latest/runtime
|
||||
ENV INNER_FILE_SERVER_ROOT=http://seafile-server:8082
|
||||
ENV SEAHUB_LOG_DIR=/opt/seafile/logs
|
||||
ENV SEAFILE_ADMIN_EMAIL=me@example.com
|
||||
ENV SEAFILE_ADMIN_PASSWORD=asecret
|
||||
|
|
Loading…
Reference in a new issue