Skip to content

Commit

Permalink
docker: expose port and fix listen address
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jan 3, 2024
1 parent 6ccd23a commit f4fce9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ ENV USER=root

ADD entrypoint.sh /entrypoint.sh

EXPOSE 9999/tcp

ENTRYPOINT ["/entrypoint.sh"]
CMD ["slmix"]
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mix_token_guests $TOKENGUEST # invite url
mix_token_api $TOKENAPI # api token
#mix_path /opt/slmix/
EOF
/opt/mix/build/slmix -c /opt/mix/config "$@"
/opt/mix/build/slmix -c /opt/mix/config "$@" -l 0.0.0.0
else
exec "$@"
fi

0 comments on commit f4fce9b

Please sign in to comment.