Thank you for your effort.
In production guide, please document how to deploy PeerTube using Docker and Probably Docker Compose too. This would be extremely helpful. There is already a working Dockerfile hidden in code files and shedding light on it would be beneficial to most of us.
Thanks for opening this issue: I think having a production ready Dockerfile / docker-compose would be useful too. (I might even work on it, who knows)
Just to let you know: the Dockerfile in support/docker/dev/ is just there for development purposes and shouldn't be used in production at all.
As far as I know Dryusdan has a nice docker image to run PeerTube and it is updated regularly. Might be changed to update automatically upon releases though.
Nice image! I think the postgresql database/user still need to be created, but that looks promising 馃憤
The postgresql is on a other container, and we need create the roles peertube and the database peertube_prod on postgresql
I'll document when I have time.
Like @bnjbvr said, the actual docker image we have is only for development.
Feel free to add a production docker image with docker-compose. I renamed the issue.
Hey
But hum... I think is better to make a Docker image on other repository... I dislike have a "docker" folder in code ^^
What do you think ? :)
I disagree, I prefer to have it in the same repository so I could easily run unit tests when the code change (dependency for example...).
Hum 馃
When you have Dockerfile in other repo, you can run test with webhook... But I understand :)
Hum... Question : Alpine or Debian image ?
I agree with @Chocobozzz, since you can run locally on the same working directory.
Implemented since e8395f027b6c3e3f757c740e35b20e76c51b03bd.