mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Booklore: Add Bookdrop location to .env (#7533)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							3e182978ad
						
					
				
				
					commit
					cc36fd5434
				
			@@ -46,7 +46,7 @@ $STD npm run build --configuration=production
 | 
			
		||||
msg_ok "Built Frontend"
 | 
			
		||||
 | 
			
		||||
msg_info "Creating Environment"
 | 
			
		||||
mkdir -p /opt/booklore_storage{/data,/books}
 | 
			
		||||
mkdir -p /opt/booklore_storage{/data,/books,/bookdrop}
 | 
			
		||||
cat <<EOF >/opt/booklore_storage/.env
 | 
			
		||||
DATABASE_URL=jdbc:mariadb://localhost:3306/$DB_NAME
 | 
			
		||||
DATABASE_USERNAME=$DB_USER
 | 
			
		||||
@@ -55,6 +55,7 @@ BOOKLORE_PORT=6060
 | 
			
		||||
 | 
			
		||||
BOOKLORE_DATA_PATH=/opt/booklore_storage/data
 | 
			
		||||
BOOKLORE_BOOKS_PATH=/opt/booklore_storage/books
 | 
			
		||||
BOOKLORE_BOOKDROP_PATH=/opt/booklore_storage/bookdrop
 | 
			
		||||
EOF
 | 
			
		||||
msg_ok "Created Environment"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user