mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-10 17:34:41 +00:00
Booklore: Add Bookdrop location to .env (#7533)
This commit is contained in:
parent
3e182978ad
commit
cc36fd5434
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue