Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ RUN apk --no-cache add ca-certificates python3 py3-pip ffmpeg tzdata \

COPY --from=builder /usr/bin/yt-dlp /usr/local/bin/youtube-dl
COPY --from=builder /build/bin/podsync /app/podsync
COPY --from=builder /build/html/index.html /app/html/index.html

ENTRYPOINT ["/app/podsync"]
CMD ["--no-banner"]
4 changes: 2 additions & 2 deletions cmd/podsync/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ func main() {
var storage fs.Storage
switch cfg.Storage.Type {
case "local":
storage, err = fs.NewLocal(cfg.Storage.Local.DataDir)
storage, err = fs.NewLocal(cfg.Storage.Local.DataDir, cfg.Server.WebUIEnabled)
case "s3":
storage, err = fs.NewS3(cfg.Storage.S3)
storage, err = fs.NewS3(cfg.Storage.S3) // serving files from S3 is not supported, so no WebUI either
default:
log.Fatalf("unknown storage type: %s", cfg.Storage.Type)
}
Expand Down
2 changes: 2 additions & 0 deletions config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ 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"
# Optional. Enable Web UI. Feeds have to be include in OPML file to appear (see below)
web_ui = true
# Optional. If you want to use TLS you must set the TLS flag and path to the certificate file and private key file.
tls = true
certificate_path = "/var/www/cert.pem"
Expand Down
Loading
Loading