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

[Feature request] Docker container for selfhosting #818

Open
update-freak opened this issue Mar 19, 2023 · 5 comments
Open

[Feature request] Docker container for selfhosting #818

update-freak opened this issue Mar 19, 2023 · 5 comments

Comments

@update-freak
Copy link

Hi,

it would be nice if you could provide a container for selfhosting gpodder.net in Docker on an Synology NAS.
Install with a docker compose in portainer would be great.

@atomdmac
Copy link

I would really like this as well. For the client, there's this but it seems to be distinct from gPodder.net (which is what I would actually like to self-host).

@auouymous
Copy link
Member

Oh, I misunderstood the request, this is not for the client.

@elelay Can you move this.

@elelay elelay transferred this issue from gpodder/gpodder Mar 31, 2023
@atomdmac
Copy link

This is currently incomplete but many of the basics are there:

  • Start a webserver on port 8000
  • Able to register for an account

I haven't tried actually hooking up podcats or devices yet but it's a start.

https://codeberg.org/atomdmac/mygpo-docker

@Ryochan7
Copy link
Contributor

Ryochan7 commented Sep 1, 2023

Not going to register on the other site right now so I will bring up issues here. I wanted to try out mygpo-docker but ran into several issues with the current configuration. A couple of problems are upstream problems with the config in the mygpo repo (transifex-client, gevent); looks like transifex-client only works up to Python 3.9(?) but Debian stable now packages Python 3.11. Other than that, I ran into a few env problems with the Dockerfile and the config in the docker-compose.yml file.

First off, the python3 package as well as python3-pip need to be installed in the container. I ended up linking to my old forked alphagpo repo and changed the source problems I ran into in that code; still would need an image for running the feed parser service. Also, I am not sure why but Docker keeps wanting to make a minimal Python venv in the mygpo-git directory outside of the container. That problem keeps making the shell in the Docker container not find envdir and some other processes because that dir is mounted as a volume.

I still want to work on tweaking things but I am now able to get the web server running and the Django site can be accessed.

@Ryochan7
Copy link
Contributor

Ryochan7 commented Sep 2, 2023

@atomdmac Now I remember why I stopped using Docker. Pain in the butt. Anyway, getting alphagpo-feedservice running was a pain as several Python packages were broken with Python 3.11. It took a little time to learn how networking works in Docker so the mygpo container could communicate with the feedservice container.

I guess I can start by submitting some smaller changes to the repo on Codeberg later.

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

4 participants