Update docker-compose.yml for better containerization

This commit is contained in:
nate@necloud.us committed 2025-08-13 19:12:32 -04:00
1 parent 5f7cef7646
commit aa45e9c873
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ services:
- NODE_ENV=production - NODE_ENV=production
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000', res => res.statusCode === 200 ? process.exit(0) : process.exit(1))"] test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/health', res => res.statusCode === 200 ? process.exit(0) : process.exit(1))"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3