Skip to content

Commit

Permalink
Add ability to run with the test support API
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh5 committed May 4, 2024
1 parent 0ee2800 commit ecd29cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
- PUID=1000
- PGID=1000
- DEBUGGING=false
- USE_TEST_SUPPORT_API=false
- NUMBER_OF_WORKERS=2
- SCHEDULE_FULL_SCAN_MINUTES=10
- RUN_FULL_SCAN_ON_START=false
Expand Down
3 changes: 3 additions & 0 deletions docker/root/etc/services.d/unmanic/run
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ unmanic_params=''
if [[ "${DEBUGGING}" == 'true' ]]; then
unmanic_params="--dev ${unmanic_params}"
fi
if [[ "${USE_TEST_SUPPORT_API}" == 'true' ]]; then
unmanic_params="--dev-api=https://support-api.test.streamingtech.co.nz ${unmanic_params}"
fi

chmod +x /usr/bin/unmanic
exec s6-setuidgid root /usr/bin/unmanic "${unmanic_params}"

0 comments on commit ecd29cd

Please sign in to comment.