feat: add one-click installer

This commit is contained in:
2026-08-30 10:44:48 +00:00
parent 49d4b7e387
commit f0f100cc99
5 changed files with 249 additions and 2 deletions
+33
View File
@@ -0,0 +1,33 @@
server:
host: 0.0.0.0
port: 8080
web_dir: /releases/current/web/dist
database:
mode: external
driver: postgres
host: ${XYMEDIA_POSTGRES_HOST}
port: ${XYMEDIA_POSTGRES_PORT}
name: ${XYMEDIA_POSTGRES_DATABASE}
user: ${XYMEDIA_POSTGRES_USER}
password_file: /run/secrets/xymedia-postgres-password
sslmode: disable
virtual:
enable_remote_file_mapping: false
webdav:
enabled: true
listen_addr: 0.0.0.0
port: 8081
public_port: 18081
base_path: /dav
read_only: true
tvbox:
enabled: true
listen_addr: 0.0.0.0
port: 8082
public_port: 18082
token_key_file: /app/data/tvbox-token.key
fuse:
auto_mount: false
mount_path: /mnt/xymediavault
cache:
directory: /app/data/cache