mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Update docker file healthcheck to use /healthcheck instead of /ping
This commit is contained in:
		
							parent
							
								
									976427b0b3
								
							
						
					
					
						commit
						9d7ffdfcd0
					
				| @ -25,5 +25,5 @@ HEALTHCHECK \ | ||||
|     --interval=30s \ | ||||
|     --timeout=3s \ | ||||
|     --start-period=10s \ | ||||
|     CMD curl -f http://127.0.0.1/ping || exit 1 | ||||
|     CMD curl -f http://127.0.0.1/healthcheck || exit 1 | ||||
| CMD ["npm", "start"] | ||||
|  | ||||
| @ -255,6 +255,7 @@ class Server { | ||||
|       Logger.info('Recieved ping') | ||||
|       res.json({ success: true }) | ||||
|     }) | ||||
|     app.get('/healthcheck', (req, res) => res.sendStatus(200)) | ||||
| 
 | ||||
|     this.server.listen(this.Port, this.Host, () => { | ||||
|       Logger.info(`Listening on http://${this.Host}:${this.Port}`) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user