-
-
Notifications
You must be signed in to change notification settings - Fork 968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: try to fix default hostname #1550
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -473,13 +473,9 @@ start(){ | |
down(){ | ||
command="$docker_compose -f docker-compose.yml" | ||
|
||
if [ "${GPU_NVIDIA}" = true ]; then | ||
command+=" -f docker-compose.nodeodm.gpu.nvidia.yml" | ||
elif [ "${GPU_INTEL}" = true ]; then | ||
command+=" -f docker-compose.nodeodm.gpu.intel.yml" | ||
else | ||
command+=" -f docker-compose.nodeodm.yml" | ||
fi | ||
command+=" -f docker-compose.nodeodm.gpu.nvidia.yml" | ||
command+=" -f docker-compose.nodeodm.gpu.intel.yml" | ||
command+=" -f docker-compose.nodeodm.yml" | ||
|
||
command+=" -f docker-compose.nodemicmac.yml down --remove-orphans" | ||
|
||
|
@@ -576,13 +572,11 @@ elif [[ $1 = "stop" ]]; then | |
|
||
command="$docker_compose -f docker-compose.yml" | ||
|
||
if [ "${GPU_NVIDIA}" = true ]; then | ||
command+=" -f docker-compose.nodeodm.gpu.nvidia.yml" | ||
elif [ "${GPU_INTEL}" = true ]; then | ||
command+=" -f docker-compose.nodeodm.gpu.intel.yml" | ||
else | ||
command+=" -f docker-compose.nodeodm.yml" | ||
fi | ||
|
||
command+=" -f docker-compose.nodeodm.gpu.nvidia.yml" | ||
command+=" -f docker-compose.nodeodm.gpu.intel.yml" | ||
command+=" -f docker-compose.nodeodm.yml" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure I understand the change here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The shutdown function now has to be entered after the |
||
|
||
|
||
command+=" -f docker-compose.nodemicmac.yml stop" | ||
run "${command}" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you test with:
./webodm.sh restart --default-nodes 3
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My apologies. I forgot there would be conflict here.
I still don't fully understand the way to the naming. Can you give me some advice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to understand how docker-compose works.
This is a good start: https://docs.docker.com/compose/
Read it all.