mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: add ASPNETCORE_URLS environment variable for backend service in docker-compose.yml
This commit is contained in:
+1
-12
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user