1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Docs update for storage config

This commit is contained in:
Contextualist
2022-06-12 23:05:03 -04:00
parent edade8d330
commit edb64f981f
3 changed files with 23 additions and 3 deletions

View File

@@ -67,7 +67,10 @@ Minimal configuration would look like this:
```toml
[server]
port = 8080
data_dir = "/data/podsync/"
[storage]
[storage.local]
data_dir = "/data/podsync/"
[tokens]
youtube = "PASTE YOUR API KEY HERE"

View File

@@ -169,9 +169,12 @@ Resources:
tee /home/ec2-user/podsync/config.toml <<EOF
[server]
port = ${PodsyncPort}
data_dir = "/home/ec2-user/podsync/data"
hostname = "http://$publichost:${PodsyncPort}"
[storage]
[storage.local]
data_dir = "/home/ec2-user/podsync/data"
[tokens]
youtube = "${YouTubeApiKey}"
vimeo = "${VimeoAccessToken}"

View File

@@ -11,7 +11,21 @@ hostname = "https://my.test.host:4443"
bind_address = "172.20.10.2"
# Specify path for reverse proxy and only [A-Za-z0-9]
path = "test"
data_dir = "/app/data" # Don't change if you run podsync via docker
# Configure where to store the episode data
[storage]
# Could be "local" (default) for the local file system, or "s3" for a S3-compatible storage provider (e.g. AWS S3)
type = "local"
[storage.local]
data_dir = "/app/data" # Don't change if you run podsync via docker
# To configure for a S3 provider, set key and secret in environment variables `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`, respectively;
# then fillout the API endpoint, region, and bucket below.
[storage.s3]
endpoint = "https://s3.us-west-2.amazonaws.com"
region = "us-west-2"
bucket = "example-bucket-name"
# API keys to be used to access Youtube and Vimeo.
# These can be either specified as string parameter or array of string (so those will be rotated).