update
This commit is contained in:
		@@ -15,10 +15,11 @@ EXPOSE 8080
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
RUN chmod +x /app/drmdtool
 | 
					RUN chmod +x /app/drmdtool
 | 
				
			||||||
RUN chmod +x /app/nre
 | 
					RUN chmod +x /app/nre
 | 
				
			||||||
 | 
					RUN mkdir -p /app/Watched
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ENV BASE_DIR=/app/Videos
 | 
					 | 
				
			||||||
ENV FORMAT=mkv
 | 
					ENV FORMAT=mkv
 | 
				
			||||||
ENV TEMP_BASE_DIR=/app/tmp
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ENTRYPOINT ["/app/drmdtool"]
 | 
					ENTRYPOINT ["/app/drmdtool"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										11
									
								
								config.toml
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								config.toml
									
									
									
									
									
								
							@@ -1,7 +1,14 @@
 | 
				
			|||||||
 | 
					[General]
 | 
				
			||||||
BaseDir = "/app/Videos/"
 | 
					BaseDir = "/app/Videos/"
 | 
				
			||||||
Format = "${FORMAT:-mkv}" 
 | 
					Format = "mkv"
 | 
				
			||||||
TempBaseDir = "/app/tmp/"
 | 
					TempBaseDir = "/app/tmp/"
 | 
				
			||||||
 | 
					EnableConsole = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[WatchFolder]
 | 
				
			||||||
 | 
					Path = "/app/Watched"
 | 
				
			||||||
 | 
					PollingInterval = 10
 | 
				
			||||||
 | 
					UsePolling = false
 | 
				
			||||||
 | 
					UseInotify = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[N_m3u8DLRE]
 | 
					[N_m3u8DLRE]
 | 
				
			||||||
Path = "/app/nre"
 | 
					Path = "/app/nre"
 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,16 @@ services:
 | 
				
			|||||||
      - "8080:8080"
 | 
					      - "8080:8080"
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - /mnt/media:/app/Videos
 | 
					      - /mnt/media:/app/Videos
 | 
				
			||||||
 | 
					      - /home/joren/Documents/School/PREMA/labs/DRMD:/app/Watched
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      - FORMAT=mp4
 | 
					      # When commented, defaults are taken from config.toml
 | 
				
			||||||
 | 
					      - FORMAT=mkv
 | 
				
			||||||
 | 
					      #- BASE_DIR=/path/to/base
 | 
				
			||||||
 | 
					      #- TEMP_BASE_DIR=/path/to/temp
 | 
				
			||||||
 | 
					      #- ENABLE_CONSOLE=false
 | 
				
			||||||
 | 
					      #- WATCHED_FOLDER=/path/to/watched
 | 
				
			||||||
 | 
					      - USE_POLLING=true
 | 
				
			||||||
 | 
					      - USE_INOTIFY=false
 | 
				
			||||||
 | 
					      #- POLLING_INTERVAL=3000 (In seconds)
 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user