mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-31 10:37:12 -04:00 
			
		
		
		
	#248: fix missing CSS I'm not thrilled about this and would much rather have Nginx running to do the job, but I just don't have the time to do that right now. As Pit says, this is better than leaving DEBUG on.
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| version: '2'
 | |
| 
 | |
| services:
 | |
|     webserver:
 | |
|         image: pitkley/paperless
 | |
|         ports:
 | |
|             # You can adapt the port you want Paperless to listen on by
 | |
|             # modifying the part before the `:`.
 | |
|             - "8000:8000"
 | |
|         volumes:
 | |
|             - data:/usr/src/paperless/data
 | |
|             - media:/usr/src/paperless/media
 | |
|         env_file: docker-compose.env
 | |
|         # The reason the line is here is so that the webserver that doesn't do
 | |
|         # any text recognition and doesn't have to install unnecessary
 | |
|         # languages the user might have set in the env-file by overwriting the
 | |
|         # value with nothing.
 | |
|         environment:
 | |
|             - PAPERLESS_OCR_LANGUAGES=
 | |
|         command: ["runserver", "--insecure", "0.0.0.0:8000"]
 | |
| 
 | |
|     consumer:
 | |
|         image: pitkley/paperless
 | |
|         volumes:
 | |
|             - data:/usr/src/paperless/data
 | |
|             - media:/usr/src/paperless/media
 | |
|             # You have to adapt the local path you want the consumption
 | |
|             # directory to mount to by modifying the part before the ':'.
 | |
|             - ./consume:/consume
 | |
|             # Likewise, you can add a local path to mount a directory for
 | |
|             # exporting. This is not strictly needed for paperless to
 | |
|             # function, only if you're exporting your files: uncomment
 | |
|             # it and fill in a local path if you know you're going to
 | |
|             # want to export your documents.
 | |
|             # - /path/to/another/arbitrary/place:/export
 | |
|         env_file: docker-compose.env
 | |
|         command: ["document_consumer"]
 | |
| 
 | |
| volumes:
 | |
|     data:
 | |
|     media:
 |