fix: docker server command

This commit is contained in:
Swann 2021-07-30 13:16:43 +02:00
parent 24b0c0ed8a
commit a9620c0752

View File

@ -11,7 +11,8 @@ LABEL description="Blender multi-user addon \
dedicated server image."
# Argument
ENV password='admin'
ENV admin_password='admin'
ENV server_password=''
ENV port=5555
ENV timeout=5000
ENV log_level=DEBUG
@ -22,4 +23,4 @@ RUN pip install replication==$replication_version
# Run the server with parameters
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["python3 -m replication.server -pwd ${password} -p ${port} -t ${timeout} -l ${log_level} -lf ${log_file}"]
CMD ["python3 -m replication.server -apwd ${admin_password} -spwd ${server_password}} -p ${port} -t ${timeout} -l ${log_level} -lf ${log_file}"]