Compare commits

..

2 Commits

Author SHA1 Message Date
Tim Schilling | IuK da471ff907 Added Variables to setup.sh 2024-11-28 13:41:21 +01:00
Tim Schilling | IuK af9bbde33b Changed gitignore, added envtemplate 2024-11-28 13:12:24 +01:00
5 changed files with 27 additions and 4 deletions
+2
View File
@@ -1,3 +1,5 @@
/keys
/temp
secrets.env
enviroment.env
+3 -4
View File
@@ -5,15 +5,14 @@ source ./enviroment/secret.env
source ./enviroment/envireoment.env
# Konfigurationsvariablen
WEBDAV_URL="$ENV_WEBDAV_URL"
MOUNT_POINT="$ENV_WEBDAV_MOUNT"
RCLONE_CONFIG="$ENV_RCLONE_CONF"
SFTP_HOST1="$ENV_SFTP_HOST1"
DOCKER_HOST="$ENV_DOCKER_HOST"
# Nutzerdaten
WEBDAV_USER="$ENV_WEBDAV_BENUTZER"
WEBDAV_PASS="$ENV_WEBDAV_PASSWORD"
SFTP_USER1="$ENV_SFTP_USER1"
+10
View File
@@ -0,0 +1,10 @@
# .env
ENV_WEBDAV_URL="https://www.kommsafe.de/webdav"
ENV_WEBDAV_MOUNT="/mnt/webdav"
ENV_RCLONE_CONF="/root/.config/rclone/rclone.conf"
ENV_DOCKER_HOST=""
ENV_SFTP_HOST1=""
ENV_SFTP_HOST2=""
+2
View File
@@ -1,2 +1,4 @@
# .env
WEBDAV_BENUTZER="dein_benutzername"
WEBDAV_PASSWORD="dein_passwort"
+10
View File
@@ -1,5 +1,15 @@
#!/bin/bash
source ./enviroment/envireoment.env
source ./enviroment/secret.env
# Variablen
WEBDAV_USER="$ENV_WEBDAV_BENUTZER"
WEBDAV_PASS="$ENV_WEBDAV_PASSWORD"
WEBDAV_URL="$ENV_WEBDAV_URL"
RCLONE_CONFIG="$ENV_RCLONE_CONF"
# Farben für die Ausgabe
GREEN="\033[0;32m"
RED="\033[0;31m"