|  | @@ -20,6 +20,7 @@ services:
 | 
	
		
			
				|  |  |      # --security-opt=no-new-privileges
 | 
	
		
			
				|  |  |      # https://docs.docker.com/engine/reference/builder/#healthcheck
 | 
	
		
			
				|  |  |      # https://github.com/docker-library/healthcheck/blob/master/postgres/docker-healthcheck
 | 
	
		
			
				|  |  | +    # TODO use env vars
 | 
	
		
			
				|  |  |      healthcheck:
 | 
	
		
			
				|  |  |        test: echo 'SELECT 1' | psql --username koel --dbname koel >/dev/null || exit 1
 | 
	
		
			
				|  |  |      restart: unless-stopped
 | 
	
	
		
			
				|  | @@ -31,8 +32,7 @@ services:
 | 
	
		
			
				|  |  |        DB_PORT: 5432
 | 
	
		
			
				|  |  |        DB_DATABASE: koel
 | 
	
		
			
				|  |  |        DB_PASSWORD: secret
 | 
	
		
			
				|  |  | -    # TODO fix
 | 
	
		
			
				|  |  | -    ports: ['8080:8080']
 | 
	
		
			
				|  |  | +    ports: ['127.0.0.1:8080:8080']
 | 
	
		
			
				|  |  |      # --security-opt=no-new-privileges
 | 
	
		
			
				|  |  |      cap_drop: [all]
 | 
	
		
			
				|  |  |      # removed condition 'service_healthy' since:
 |