You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -1,3 +1,5 @@ | ||||
| #!/usr/bin/env node | ||||
|  | ||||
| const NodeMediaServer = require('node-media-server'); | ||||
|  | ||||
| const config = { | ||||
| @@ -6,16 +8,17 @@ const config = { | ||||
|     chunk_size: 60000, | ||||
|     gop_cache: true, | ||||
|     ping: 30, | ||||
|     ping_timeout: 60 | ||||
|     ping_timeout: 60, | ||||
|   }, | ||||
|   http: { | ||||
|     port: 8000, | ||||
|     allow_origin: '*' | ||||
|     allow_origin: '*', | ||||
|     api: true, | ||||
|   }, | ||||
|   auth: { | ||||
|     api : true, | ||||
|     api_user: 'admin', | ||||
|     api_pass: 'admin', | ||||
|     api: true, | ||||
|     api_user: process.env.USERNAME || 'admin', | ||||
|     api_pass: process.env.PASSWORD || 'admin', | ||||
|   }, | ||||
| }; | ||||
|  | ||||
|   | ||||
| @@ -5,4 +5,7 @@ services: | ||||
|     ports: | ||||
|       - "1935:1935" | ||||
|       - "8000:8000" | ||||
|     environment: | ||||
|       - USERNAME=admin | ||||
|       - PASSWORD=admin | ||||
|     restart: unless-stopped | ||||
|   | ||||
		Reference in New Issue
	
	Block a user