From c4f606ecf265678495b616a11c0fab1aa4ca9331 Mon Sep 17 00:00:00 2001 From: whoswhip Date: Tue, 30 Dec 2025 21:54:46 -0500 Subject: [PATCH] fix: add ASPNETCORE_URLS environment variable for backend service in docker-compose.yml --- docker-compose.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3174fc5..09dcdf0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,7 @@ services: environment: ASPNETCORE_ENVIRONMENT: Production ConnectionStrings__DefaultConnection: "Data Source=/app/data/sharpbin.db" + ASPNETCORE_URLS: "http://+:8080" volumes: - sharpbin-data:/app/data - ./SharpbinV3.Server/appsettings.json:/app/appsettings.json @@ -15,12 +16,6 @@ services: - sharpbin-net expose: - "8080" - healthcheck: - test: 'wget --no-verbose --spider http://localhost:8080/health || exit 1' - interval: 30s - timeout: 30s - retries: 5 - start_period: 30s restart: unless-stopped frontend: @@ -35,12 +30,6 @@ services: - "5173:5173" networks: - sharpbin-net - healthcheck: - test: 'wget --no-verbose --spider http://localhost:5173/health || exit 1' - interval: 30s - timeout: 30s - retries: 5 - start_period: 30s restart: unless-stopped volumes: