Permissions and exposing snapcast ports

This commit is contained in:
James Barnsley
2019-08-02 16:47:28 +12:00
parent 0b3146c029
commit 50070a5dfb
7 changed files with 12 additions and 6 deletions

View File

@ -66,7 +66,7 @@ USER mopidy
VOLUME ["/var/lib/mopidy/local", "/var/lib/mopidy/media"]
EXPOSE 6600 6680 5555/udp
EXPOSE 6600 6680 1704 1705 5555/udp
ENTRYPOINT ["/usr/bin/dumb-init", "/entrypoint.sh"]
CMD ["/usr/bin/mopidy"]

View File

@ -75,9 +75,9 @@ RUN set -ex \
# Runs as mopidy user by default.
USER mopidy
VOLUME ["/var/lib/mopidy/local", "/var/lib/mopidy/media"]
VOLUME ["/var/lib/mopidy/local", "/var/lib/mopidy/media", "/var/lib/snapserver"]
EXPOSE 6600 6680 5555/udp
EXPOSE 6600 6680 1704 1705 5555/udp
ENTRYPOINT ["/usr/bin/dumb-init", "/entrypoint.sh"]
CMD ["/usr/bin/mopidy"]

View File

@ -7,3 +7,4 @@ then
fi
exec "$@"
exec "service snapserver start"

View File

@ -28,3 +28,8 @@ password = swedisH189
[soundcloud]
auth_token = 1-35204-42997920-d62091fd310537a
[iris]
snapcast_enabled = true
snapcast_host = localhost
snapcast_port = 1705

View File

@ -60371,7 +60371,6 @@ var PlaybackControls = function (_React$Component) {
_react2.default.createElement(
'section',
{ className: 'playback' },
this.renderPlayButton(),
_react2.default.createElement(
'button',
{ className: 'control previous', onClick: function onClick() {
@ -60379,6 +60378,7 @@ var PlaybackControls = function (_React$Component) {
} },
_react2.default.createElement(_Icon2.default, { name: 'navigate_before', type: 'material' })
),
this.renderPlayButton(),
_react2.default.createElement(
'button',
{ className: 'control next', onClick: function onClick() {

File diff suppressed because one or more lines are too long

View File

@ -264,10 +264,10 @@ class PlaybackControls extends React.Component{
</div>
<section className="playback">
{ this.renderPlayButton() }
<button className="control previous" onClick={() => this.props.mopidyActions.previous()}>
<Icon name="navigate_before" type="material" />
</button>
{ this.renderPlayButton() }
<button className="control next" onClick={() => this.props.mopidyActions.next()}>
<Icon name="navigate_next" type="material" />
</button>