chore: change host port from 8080 → 3410 to avoid conflicts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -27,9 +27,9 @@ COPY --from=build /app/publish .
|
|||||||
|
|
||||||
# Override connection string to use /app/data/asadi.db (volume path)
|
# Override connection string to use /app/data/asadi.db (volume path)
|
||||||
ENV ConnectionStrings__Default="Data Source=/app/data/asadi.db"
|
ENV ConnectionStrings__Default="Data Source=/app/data/asadi.db"
|
||||||
ENV ASPNETCORE_URLS="http://+:8080"
|
ENV ASPNETCORE_URLS="http://+:3410"
|
||||||
ENV ASPNETCORE_ENVIRONMENT="Production"
|
ENV ASPNETCORE_ENVIRONMENT="Production"
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 3410
|
||||||
|
|
||||||
ENTRYPOINT ["dotnet", "AsadiTools.dll"]
|
ENTRYPOINT ["dotnet", "AsadiTools.dll"]
|
||||||
|
|||||||
+2
-2
@@ -8,7 +8,7 @@ services:
|
|||||||
container_name: asadi-tools
|
container_name: asadi-tools
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "3410:3410"
|
||||||
volumes:
|
volumes:
|
||||||
# SQLite database persisted on host
|
# SQLite database persisted on host
|
||||||
- asadi_data:/app/data
|
- asadi_data:/app/data
|
||||||
@@ -16,7 +16,7 @@ services:
|
|||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ConnectionStrings__Default=Data Source=/app/data/asadi.db
|
- ConnectionStrings__Default=Data Source=/app/data/asadi.db
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/ || exit 1"]
|
test: ["CMD-SHELL", "curl -f http://localhost:3410/ || exit 1"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user