Skip to content

Commit

Permalink
add easier setup for docker users
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkeyFlo committed Jul 29, 2024
1 parent f86b090 commit 7efb045
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions add-ons/common/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ COPY ./ps5-mqtt ./app
RUN cd /app && \
npm install

# set permissions for both docker standalone and HA add-on startup scripts
RUN chmod a+x /app/run.sh
RUN chmod a+x /app/run-standalone.sh

EXPOSE 8645

Expand Down
2 changes: 1 addition & 1 deletion docs/DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ services:
ps5-mqtt:
container_name: PS5-MQTT # choose whatever name you like
image: ghcr.io/funkeyflo/ps5-mqtt/amd64:latest # you can also use a specific version
entrypoint: /config/entrypoint.sh # the file that will be executed at startup
entrypoint: /app/run-standalone.sh # the file that will be executed at startup
volumes: # we will use this volume to save credentials
- ./config:/config
network_mode: host # changing/omiting this option WILL BREAK the app.
Expand Down
File renamed without changes.

0 comments on commit 7efb045

Please sign in to comment.