Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struggling to get working in docker and a bit lost now #628

Open
crispybegs opened this issue May 26, 2024 · 1 comment
Open

Struggling to get working in docker and a bit lost now #628

crispybegs opened this issue May 26, 2024 · 1 comment

Comments

@crispybegs
Copy link

hi, i love the idea of this but i'm struggling to get it working. I'm sure I must be getting something wrong but I'm not sure what

This is my compose:

version: '2.2'

services:
  podsync:
    container_name: podsync
    image: mxpv/podsync:latest
    restart: unless-stopped
    ports:
      - 8190:80
    volumes:
      - /media/crispy/NAS_4TB_1/media/podcasts:/app/data/
      - /home/crispy/docker/podsync/config/config.toml:/app/config.toml

When I start up the service, the logs just say this and it never changes:

time="2024-05-26T18:19:45Z" level=info msg="Using log file: podsync.log"

This is my config.toml

[server]
port = 8190

[storage]
type = "local"
[storage.local]
data_dir = "/app/data" 

[tokens]
youtube = "xxxxx_redacted_" 

[feeds.ID1]
url = "https://www.youtube.com/channel/UCH-6-0uCbVRZgoOMAPGbxwg"
page_size = 5
update_period = "12h"
quality = "high" # "high" or "low"
format = "audio" # "audio", "video" or "custom"

opml = true

clean = { keep_last = 10 }

private_feed = true

[database]
badger = { truncate = true, file_io = true }

[downloader]
self_update = true
timeout = 15

[log]
65 filename = "podsync.log"
66 max_size = 50 # MB
67 max_age = 30 # days
68 max_backups = 7
69 compress = true
70 debug = false

As you can see, I set the GUI port as 8190, but when I visit that address no page loads, just "This site can’t be reached" etc

What have I messed up here?

@garlic-hub
Copy link

You docker compose is mapping port 8090 on your local host to port 80 inside the container. Your config.toml is set to use port 8090 though. You need to change your docker compose from

    ports:
      - 8190:80

to

    ports:
      - 8190:8190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants