diff --git a/docker/docker-compose-test.yml b/docker/docker-compose-test.yml index deac222a..fb15eb3b 100644 --- a/docker/docker-compose-test.yml +++ b/docker/docker-compose-test.yml @@ -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 diff --git a/docker/root/etc/services.d/unmanic/run b/docker/root/etc/services.d/unmanic/run index 2d827db6..1bc0c10d 100644 --- a/docker/root/etc/services.d/unmanic/run +++ b/docker/root/etc/services.d/unmanic/run @@ -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}"