mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	moved gunicorn.conf.py to a more appropriate place and reference that in the configuration scripts.
This commit is contained in:
		
							
								
								
									
										1
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -155,6 +155,7 @@ jobs: | ||||
|           mkdir dist/paperless-ng/scripts | ||||
|           cp .dockerignore .env Dockerfile Pipfile Pipfile.lock LICENSE README.md requirements.txt dist/paperless-ng/ | ||||
|           cp paperless.conf.example dist/paperless-ng/paperless.conf | ||||
|           cp gunicorn.conf.py dist/paperless-ng/gunicorn.conf.py | ||||
|           cp docker/ dist/paperless-ng/docker -r | ||||
|           cp scripts/*.service scripts/*.sh dist/paperless-ng/scripts/ | ||||
|           cp src/ dist/paperless-ng/src -r | ||||
|   | ||||
| @@ -77,7 +77,8 @@ RUN apt-get update \ | ||||
| # copy scripts | ||||
| # this fixes issues with imagemagick and PDF | ||||
| COPY docker/imagemagick-policy.xml /etc/ImageMagick-6/policy.xml | ||||
| COPY docker/gunicorn.conf.py ./ | ||||
|  | ||||
| COPY gunicorn.conf.py ./ | ||||
| COPY docker/supervisord.conf /etc/supervisord.conf | ||||
| COPY docker/docker-entrypoint.sh /sbin/docker-entrypoint.sh | ||||
|  | ||||
|   | ||||
| @@ -20,7 +20,7 @@ Paperless consists of the following components: | ||||
|     .. code:: shell-session | ||||
|  | ||||
|         $ cd /path/to/paperless/src/ | ||||
|         $ gunicorn -c ../gunicorn.conf.py -b 0.0.0.0:8000 paperless.wsgi | ||||
|         $ gunicorn -c ../gunicorn.conf.py paperless.wsgi | ||||
|  | ||||
|     or by any other means such as Apache ``mod_wsgi``. | ||||
|  | ||||
|   | ||||
| @@ -8,7 +8,7 @@ Requires=redis.service | ||||
| User=paperless | ||||
| Group=paperless | ||||
| WorkingDirectory=/opt/paperless/src | ||||
| ExecStart=/opt/paperless/.local/bin/gunicorn paperless.wsgi -w 2 -b 0.0.0.0:8000 | ||||
| ExecStart=/opt/paperless/.local/bin/gunicorn -c /opt/paperless/gunicorn.conf.py paperless.wsgi | ||||
|  | ||||
| [Install] | ||||
| WantedBy=multi-user.target | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler