Skip to content

Commit 217f8c4

Browse files
committed
attempt at metadata display with shairport-sync
config file for shairport-sync
1 parent c22402b commit 217f8c4

4 files changed

Lines changed: 645 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM node:23-alpine
2+
3+
# Set the working directory in the container
4+
WORKDIR /app
5+
6+
RUN apk add --update --no-cache git file imagemagick
7+
8+
RUN git clone https://github.com/AlainGourves/shairport-metadata-display .
9+
RUN mkdir /app/public/img
10+
11+
#COPY package*.json ./
12+
13+
# Install Node.js dependencies
14+
RUN npm install --omit=dev
15+
16+
# Copy the application source code to the container
17+
COPY . .
18+
19+
# Expose the port if the application uses one (adjust as needed)
20+
EXPOSE 8080
21+
22+
# Set the default command to run the application
23+
CMD [ "npm", "start" ]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# https://github.com/AlainGourves/shairport-metadata-display
2+
services:
3+
shairport-metadata-display:
4+
build: .
5+
restart: unless-stopped
6+
env_file:
7+
- .env
8+
volumes:
9+
- ../../run/shairport-sync/fifos:/tmp/shairport-sync-metadata

0 commit comments

Comments
 (0)