chore(deps): update gotson/komga docker tag to v1.23.6 (#2685)
This commit is contained in:
19
apps/komga/1.23.6/scripts/init.sh
Normal file
19
apps/komga/1.23.6/scripts/init.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
mkdir -p "$KOMGA_ROOT_PATH"
|
||||
mkdir -p "$KOMGA_ROOT_PATH/config"
|
||||
mkdir -p "$KOMGA_ROOT_PATH/data"
|
||||
|
||||
chown -R 1000:1000 "$KOMGA_ROOT_PATH"
|
||||
chown -R 1000:1000 "$KOMGA_ROOT_PATH/config"
|
||||
chown -R 1000:1000 "$KOMGA_ROOT_PATH/data"
|
||||
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
13
apps/komga/1.23.6/scripts/upgrade.sh
Normal file
13
apps/komga/1.23.6/scripts/upgrade.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
mkdir -p "$KOMGA_ROOT_PATH"
|
||||
chown -R 1000:1000 "$KOMGA_ROOT_PATH"
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
Reference in New Issue
Block a user