fix: docker server command
This commit is contained in:
@ -11,7 +11,8 @@ LABEL description="Blender multi-user addon \
|
|||||||
dedicated server image."
|
dedicated server image."
|
||||||
|
|
||||||
# Argument
|
# Argument
|
||||||
ENV password='admin'
|
ENV admin_password='admin'
|
||||||
|
ENV server_password=''
|
||||||
ENV port=5555
|
ENV port=5555
|
||||||
ENV timeout=5000
|
ENV timeout=5000
|
||||||
ENV log_level=DEBUG
|
ENV log_level=DEBUG
|
||||||
@ -22,4 +23,4 @@ RUN pip install replication==$replication_version
|
|||||||
|
|
||||||
# Run the server with parameters
|
# Run the server with parameters
|
||||||
ENTRYPOINT ["/bin/sh", "-c"]
|
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}"]
|
Reference in New Issue
Block a user