mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2025-09-02 10:49:22 +00:00
add env variables
This commit is contained in:
parent
e9f3bac031
commit
883da811c8
1 changed files with 6 additions and 0 deletions
|
@ -61,6 +61,12 @@ COPY --from=get /tmp/seafile-server*/seafile/lib64/python3.6/site-packages /usr/
|
||||||
COPY scripts /scripts
|
COPY scripts /scripts
|
||||||
RUN chmod u+x /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
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD ["/scripts/start.sh"]
|
CMD ["/scripts/start.sh"]
|
Loading…
Add table
Reference in a new issue