mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-11 18:18:38 +02:00
radicale config
This commit is contained in:
@@ -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
|
||||
################################################################################
|
||||
|
||||
+1
-1
@@ -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:
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user