diff --git a/bootstrap.sh b/bootstrap.sh index 7b06501..aa98591 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -212,6 +212,18 @@ docker compose run archivebox config --set PUBLIC_INDEX=False PUBLIC_SNAPSHOTS=F docker compose run --rm archivebox config --set SAVE_WGET=True SAVE_READABILITY=True SAVE_SINGLEFILE=True SAVE_PDF=True SAVE_SCREENSHOT=False SAVE_MEDIA=True SAVE_ARCHIVE_DOT_ORG=False SAVE_MERCURY=False docker compose run --rm archivebox config --set 'YOUTUBEDL_ARGS=["--write-description","--write-info-json","--write-thumbnail","--write-subs","--write-auto-subs","--convert-subs=srt","--no-call-home","--continue","--no-abort-on-error","--ignore-errors","--geo-bypass","--add-metadata","--format=bestvideo[height<=1080]+bestaudio/best[height<=1080]"]' +#################################################################### +# Radicalé +##################\\\\\\\\\\\ + +step "Initializing Radicalé" + +echo "Create user: tomasr" +docker run --rm -it \ + -v /opt/server/radicale/data:/data \ + httpd:2.4-alpine \ + htpasswd -B -c /data/users tomasr + ################################################################################ # Done ################################################################################ diff --git a/compose.yml b/compose.yml index cae5244..4664793 100644 --- a/compose.yml +++ b/compose.yml @@ -130,7 +130,7 @@ services: - /opt/server/radicale/data:/data # Configuration - - /opt/server/radicale/config:/config + - /home/tomasr/vps-config/radicale-config:/config volumes: caddy_data: caddy_config: diff --git a/radicale-config/config b/radicale-config/config new file mode 100644 index 0000000..2d4f4b6 --- /dev/null +++ b/radicale-config/config @@ -0,0 +1,10 @@ +[server] +hosts = 0.0.0.0:5232 + +[storage] +filesystem_folder = /data/collections + +[auth] +type = htpasswd +htpasswd_filename = /data/users +htpasswd_encryption = bcrypt