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
Docker improvements #813
Comments
@kaiyou @djmaze @Chocobozzz @Dryusdan do you have an opinion on this? |
Well, I did not have a look at how this evolved for quite some time. Looking at the current state I agree there are several issues where things differ from my current compose / swarm best practices:
|
What do you think about KISS-ing it and just removing all references to traefik ? Or just include a sample configuration file (like what's done with nginx).
+1.
I don't really have an opinion on that, however, considering that other projects are not using them, maybe it would be simpler to keep using bind-mount volumes.
I think there could be a JS script to do that, and we'd just have to |
It already exists here. Maybe we could make an alias for it though. |
The case is a bit different since we need to set labels on the peertube container. That could be provided as an # docker-compose.traefik.override.yml
version: 3.3
services:
reverse_proxy:
# ...
peertube:
labels:
traefik.enable: "true"
traefik.frontend.rule: "Host:${PEERTUBE_WEBSERVER_HOSTNAME}"
traefik.port: "9000" |
Maybe you are interesting in using our peertube dockerimage. There is no database inside, no systemd, no webserver. Just the peertube nodejs process in a nice alpine environment. |
Since I wrote most of the provided If we are going toward a fire and forget solution for distributing a Docker configuration, I definitely agree with:
To be quite honnest, I wrote a very first version for the Debian production Dockerfile and keep maintaining it, but I had a look at the latest from this repository and I am horrified at the mess it has become. Maybe some cleanup is required. |
Just comment the reverse proxy section in the docker compose template. We could comment it by default and then we'll have issues by people who can't get it to work. It's difficult to satisfy everyone but I have more confidence in people who have a docker infrastructure to adapt the docker compose with their reverse proxy that the opposite.
They are now
It's just a template, so I don't think it should be tracked by git. Like the nginx template for example
I did not try but I think they work
Related to #189 |
I am managing a PeerTube instance through the docker-compose stack.
During the setup, I have found many issues plaguing the stack that made it more difficult to setup than, say, Mastodon (which I think is a good reference).
After meeting @rigelk @ PSES 2018, we've considered two major issues affecting the docker-compose PeerTube setup :
To be more precise, what I consider are issues :
Thanks for considering this issue. Running PeerTube through Docker is a great way to advertise it.
I am not a Docker expert, please correct me if anything I said is mistaken or invalid.
The text was updated successfully, but these errors were encountered: