mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-02 18:47:10 -05:00 
			
		
		
		
	Merge pull request #2608 from paperless-ngx/compatibility-updates-0222
This commit is contained in:
		
						commit
						bdf9b2453f
					
				@ -6,7 +6,7 @@
 | 
				
			|||||||
version: "3.7"
 | 
					version: "3.7"
 | 
				
			||||||
services:
 | 
					services:
 | 
				
			||||||
  gotenberg:
 | 
					  gotenberg:
 | 
				
			||||||
    image: docker.io/gotenberg/gotenberg:7.6
 | 
					    image: docker.io/gotenberg/gotenberg:7.8
 | 
				
			||||||
    hostname: gotenberg
 | 
					    hostname: gotenberg
 | 
				
			||||||
    container_name: gotenberg
 | 
					    container_name: gotenberg
 | 
				
			||||||
    network_mode: host
 | 
					    network_mode: host
 | 
				
			||||||
 | 
				
			|||||||
@ -83,7 +83,7 @@ services:
 | 
				
			|||||||
      PAPERLESS_TIKA_ENDPOINT: http://tika:9998
 | 
					      PAPERLESS_TIKA_ENDPOINT: http://tika:9998
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  gotenberg:
 | 
					  gotenberg:
 | 
				
			||||||
    image: docker.io/gotenberg/gotenberg:7.6
 | 
					    image: docker.io/gotenberg/gotenberg:7.8
 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
    # The gotenberg chromium route is used to convert .eml files. We do not
 | 
					    # The gotenberg chromium route is used to convert .eml files. We do not
 | 
				
			||||||
    # want to allow external content like tracking pixels or even javascript.
 | 
					    # want to allow external content like tracking pixels or even javascript.
 | 
				
			||||||
 | 
				
			|||||||
@ -77,7 +77,7 @@ services:
 | 
				
			|||||||
      PAPERLESS_TIKA_ENDPOINT: http://tika:9998
 | 
					      PAPERLESS_TIKA_ENDPOINT: http://tika:9998
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  gotenberg:
 | 
					  gotenberg:
 | 
				
			||||||
    image: docker.io/gotenberg/gotenberg:7.6
 | 
					    image: docker.io/gotenberg/gotenberg:7.8
 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # The gotenberg chromium route is used to convert .eml files. We do not
 | 
					    # The gotenberg chromium route is used to convert .eml files. We do not
 | 
				
			||||||
 | 
				
			|||||||
@ -65,7 +65,7 @@ services:
 | 
				
			|||||||
      PAPERLESS_TIKA_ENDPOINT: http://tika:9998
 | 
					      PAPERLESS_TIKA_ENDPOINT: http://tika:9998
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  gotenberg:
 | 
					  gotenberg:
 | 
				
			||||||
    image: docker.io/gotenberg/gotenberg:7.6
 | 
					    image: docker.io/gotenberg/gotenberg:7.8
 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # The gotenberg chromium route is used to convert .eml files. We do not
 | 
					    # The gotenberg chromium route is used to convert .eml files. We do not
 | 
				
			||||||
 | 
				
			|||||||
@ -501,3 +501,9 @@ You can also set the default for new tables (this does NOT affect
 | 
				
			|||||||
existing tables) with:
 | 
					existing tables) with:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
`ALTER DATABASE <db_name> CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;`
 | 
					`ALTER DATABASE <db_name> CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					!!! warning
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    Using mariadb version 10.4+ is recommended. Using the `utf8mb3` character set on
 | 
				
			||||||
 | 
					    an older system may fix issues that can arise while setting up Paperless-ngx but
 | 
				
			||||||
 | 
					    `utf8mb3` can cause issues with consumption (where `utf8mb4` does not).
 | 
				
			||||||
 | 
				
			|||||||
@ -625,7 +625,7 @@ services:
 | 
				
			|||||||
    # ...
 | 
					    # ...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    gotenberg:
 | 
					    gotenberg:
 | 
				
			||||||
      image: gotenberg/gotenberg:7.6
 | 
					      image: gotenberg/gotenberg:7.8
 | 
				
			||||||
      restart: unless-stopped
 | 
					      restart: unless-stopped
 | 
				
			||||||
      # The gotenberg chromium route is used to convert .eml files. We do not
 | 
					      # The gotenberg chromium route is used to convert .eml files. We do not
 | 
				
			||||||
      # want to allow external content like tracking pixels or even javascript.
 | 
					      # want to allow external content like tracking pixels or even javascript.
 | 
				
			||||||
 | 
				
			|||||||
@ -708,6 +708,12 @@ below use PostgreSQL, but are applicable to MySQL/MariaDB with the
 | 
				
			|||||||
    MySQL also enforces limits on maximum lengths, but does so differently than
 | 
					    MySQL also enforces limits on maximum lengths, but does so differently than
 | 
				
			||||||
    PostgreSQL.  It may not be possible to migrate to MySQL due to this.
 | 
					    PostgreSQL.  It may not be possible to migrate to MySQL due to this.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					!!! warning
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    Using mariadb version 10.4+ is recommended. Using the `utf8mb3` character set on
 | 
				
			||||||
 | 
					    an older system may fix issues that can arise while setting up Paperless-ngx but
 | 
				
			||||||
 | 
					    `utf8mb3` can cause issues with consumption (where `utf8mb4` does not).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
1.  Stop paperless, if it is running.
 | 
					1.  Stop paperless, if it is running.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2.  Tell paperless to use PostgreSQL:
 | 
					2.  Tell paperless to use PostgreSQL:
 | 
				
			||||||
 | 
				
			|||||||
@ -2,5 +2,5 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
docker run -p 5432:5432 -e POSTGRES_PASSWORD=password -v paperless_pgdata:/var/lib/postgresql/data -d postgres:13
 | 
					docker run -p 5432:5432 -e POSTGRES_PASSWORD=password -v paperless_pgdata:/var/lib/postgresql/data -d postgres:13
 | 
				
			||||||
docker run -d -p 6379:6379 redis:latest
 | 
					docker run -d -p 6379:6379 redis:latest
 | 
				
			||||||
docker run -p 3000:3000 -d gotenberg/gotenberg:7.6 gotenberg --chromium-disable-javascript=true --chromium-allow-list="file:///tmp/.*"
 | 
					docker run -p 3000:3000 -d gotenberg/gotenberg:7.8 gotenberg --chromium-disable-javascript=true --chromium-allow-list="file:///tmp/.*"
 | 
				
			||||||
docker run -p 9998:9998 -d ghcr.io/paperless-ngx/tika:latest
 | 
					docker run -p 9998:9998 -d ghcr.io/paperless-ngx/tika:latest
 | 
				
			||||||
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user