mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
add env variables
This commit is contained in:
parent
e9f3bac031
commit
883da811c8
|
@ -61,6 +61,12 @@ COPY --from=get /tmp/seafile-server*/seafile/lib64/python3.6/site-packages /usr/
|
|||
COPY scripts /scripts
|
||||
RUN chmod u+x /scripts/*
|
||||
|
||||
ENV PYTHONPATH=/usr/lib/python3.6/site-packages:/opt/seafile/seafile-server-latest/seahub/thirdpart
|
||||
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
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["/scripts/start.sh"]
|
Loading…
Reference in a new issue