Next queued song (#123)

* Added code to fetch next queue item

* Updated README

* Give it a go

* Minor docker compose change

* Added docker-compose defaults

* Code refactor

* Removed data from being fetched

* Added test

* Formatting
This commit was merged in pull request #123.
This commit is contained in:
KD
2025-04-26 16:11:46 -04:00
committed by GitHub
parent db7350b550
commit 5e3ca1861d
5 changed files with 172 additions and 4 deletions
+5 -2
View File
@@ -3,7 +3,9 @@ version: '3.8' # Use a recent version
services:
# --- Web API ---
api:
build: . # Tells docker-compose to build the Dockerfile in the current directory
build: # Tells docker-compose to build the Dockerfile in the current directory
context: .
ssh: ["default"] # Uses host's SSH agent
container_name: icarus # Optional: Give the container a specific name
ports:
# Map host port 8000 to container port 3000 (adjust as needed)
@@ -22,6 +24,7 @@ services:
auth_api:
build:
context: ../icarus_auth # IMPORTANT: Relative path to the local checkout of your web API repo (containing the Dockerfile)
ssh: ["default"] # Uses host's SSH agent
dockerfile: Dockerfile # Optional: Specify if your Dockerfile has a non-standard name
container_name: auth_api
restart: unless-stopped
@@ -106,4 +109,4 @@ networks:
main-api-network:
driver: bridge
auth-api-network:
driver: bridge
driver: bridge