mirror of
https://gitlab.com/Snogard/kaido.git
synced 2025-06-25 02:13:00 +02:00
removed network creation from youtubedl, fixed raspberry install
This commit is contained in:
parent
fc13d85636
commit
d85ce1a051
@ -31,7 +31,7 @@ regardless of the order in the file, the execution is in this order:
|
||||
|
||||
###
|
||||
|
||||
# How To
|
||||
# Container Installation:
|
||||
|
||||
## gitlab-runner
|
||||
|
||||
|
@ -10,8 +10,12 @@ containerName_db=${podName}_mongodb
|
||||
|
||||
imageName_youtubedl=docker.io/tzahi12345/youtubedl-material:4.3.2
|
||||
imageName_db=docker.io/library/mongo:4.4.22
|
||||
|
||||
containerName=youtubedl_material
|
||||
max_old_space_size=4096
|
||||
# TODO: replace with raspberry identification
|
||||
if [ $(uname -m) == "aarch64" ]; then
|
||||
imageName_db=docker.io/library/mongo:4.4.18
|
||||
max_old_space_size=2048
|
||||
fi
|
||||
|
||||
dstBasePath=$CONTAINERS_FOLDER/$podName
|
||||
|
||||
@ -29,8 +33,6 @@ stop_and_remove_pod $podName
|
||||
|
||||
#install
|
||||
|
||||
podman network create $podName
|
||||
|
||||
echo "Creating new $podName pod"
|
||||
podman pod create \
|
||||
--name $podName \
|
||||
@ -54,7 +56,7 @@ podman create \
|
||||
-e ytdl_use_local_db=false \
|
||||
-e write_ytdl_config=true \
|
||||
-e ALLOW_CONFIG_MUTATIONS=true \
|
||||
-e NODE_OPTIONS=' --max_old_space_size=4096' \
|
||||
-e NODE_OPTIONS=" --max_old_space_size=$max_old_space_size" \
|
||||
$imageName_youtubedl
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
source "src/commands/install/install-gitlab-runner.sh"
|
||||
source /opt/kaido/src/libs/bash/lib.sh
|
||||
|
||||
# variables
|
||||
root=/opt/kaido
|
||||
|
Loading…
x
Reference in New Issue
Block a user