mirror of
https://github.com/azaion/admin.git
synced 2026-06-21 13:21:09 +00:00
refactor: remove deploy.cmd and update Dockerfile for health checks
- Deleted the deploy.cmd script as it was no longer needed. - Updated Dockerfile to include curl for health checks and added a non-root user for improved security. - Modified health check command to use curl for better reliability. - Adjusted docker-compose.test.yml to reflect changes in health check configuration. - Cleaned up appsettings.json and removed unused configuration properties. - Removed Resource entity and related requests from the codebase as part of the architectural shift. - Updated documentation to reflect the removal of hardware binding and related endpoints. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -34,17 +34,12 @@ services:
|
||||
ResourcesConfig__ResourcesFolder: "Content"
|
||||
ResourcesConfig__SuiteInstallerFolder: "suite"
|
||||
ResourcesConfig__SuiteStageInstallerFolder: "suite-stage"
|
||||
ResourcesConfig__EncryptionMasterKey: "test-master-key-for-resources-table-do-not-use-in-prod"
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- test-resources:/app/Content
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"/bin/bash -c 'exec 3<>/dev/tcp/127.0.0.1/8080'",
|
||||
]
|
||||
test: ["CMD", "curl", "--fail", "--silent", "--show-error", "http://localhost:8080/health/live"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 8
|
||||
|
||||
Reference in New Issue
Block a user