Skip to content

Commit

Permalink
Run Checks on Master & Introduce Local Docker Compose File (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillKirkmanM committed Sep 11, 2024
2 parents d3e8128 + a42ee58 commit 47dab26
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cargo-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: "Check Server"

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
check:
Expand Down
15 changes: 15 additions & 0 deletions docker-compose-local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
services:
music-server:
build:
context: .
dockerfile: Dockerfile
container_name: parsonlabs-music
ports:
- "1993:1993"
- "7700:7700"
volumes:
- "/path/to/config:/ParsonLabsMusic"
- "/path/to/music:/music"
environment:
- JWT_SECRET=your_auth_secret_here
restart: unless-stopped
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.8'

services:
music-server:
image: ghcr.io/willkirkmanm/music
Expand All @@ -8,8 +6,8 @@ services:
- "1993:1993"
- "7700:7700"
volumes:
- "C:/Users/willi/Desktop/plm:/ParsonLabsMusic"
- "C:/Users/willi/Desktop/ParsonLabs Music/tpab:/music"
- "/path/to/config:/ParsonLabsMusic"
- "/path/to/music:/music"
environment:
- JWT_SECRET=your_auth_secret_here
restart: unless-stopped

0 comments on commit 47dab26

Please sign in to comment.