Palmr v3.2.1-beta (#7526)
- Add CUSTOM_PATH env var with comment - Update JSON: add note about new env var - Update JSON: remove warning about RAM - now advisable to leave as-is
This commit is contained in:
		
							parent
							
								
									a41364d91d
								
							
						
					
					
						commit
						2f0b6e10ab
					
				| @ -33,11 +33,7 @@ | |||||||
|   }, |   }, | ||||||
|   "notes": [ |   "notes": [ | ||||||
|     { |     { | ||||||
|       "text": "This LXC is very memory-hungry when updating; it requires at least 6GB RAM, but RAM may be reduced to as low as 2GB when running normally", |       "text": "To use a bind mount for storage, create symlinks to your mount for both `uploads` and `temp-uploads` in `/opt/palmr_data`, and uncomment `CUSTOM_PATH` to add the path to your bind mount", | ||||||
|       "type": "warning" |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "text": "To use a bind mount for storage, create symlinks to your mount for both `uploads` and `temp-uploads` in `/opt/palmr_data`", |  | ||||||
|       "type": "info" |       "type": "info" | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|  | |||||||
| @ -26,8 +26,10 @@ sed -e 's/_ENCRYPTION=true/_ENCRYPTION=false/' \ | |||||||
|   -e '/^# ENC/s/# //' \ |   -e '/^# ENC/s/# //' \ | ||||||
|   -e "s/ENCRYPTION_KEY=.*$/ENCRYPTION_KEY=$PALMR_KEY/" \ |   -e "s/ENCRYPTION_KEY=.*$/ENCRYPTION_KEY=$PALMR_KEY/" \ | ||||||
|   -e "s|file:.*$|file:$PALMR_DB\"|" \ |   -e "s|file:.*$|file:$PALMR_DB\"|" \ | ||||||
|   -e '/db"$/a\# Uncomment below when using reverse proxy\ |   -e "\|db\"$|a\\# Uncomment below when using a reverse proxy\\ | ||||||
| # SECURE_SITE=true' \ | # SECURE_SITE=true\\ | ||||||
|  | # Uncomment and add your path if using symlinks for data storage\\ | ||||||
|  | # CUSTOM_PATH=<path-to-your-bind-mount>" \ | ||||||
|   .env.example >./.env |   .env.example >./.env | ||||||
| $STD pnpm install | $STD pnpm install | ||||||
| $STD pnpm dlx prisma generate | $STD pnpm dlx prisma generate | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Chris
						Chris