]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - support/doc/docker.md
Add nsfw support in import-videos
[github/Chocobozzz/PeerTube.git] / support / doc / docker.md
1 # Docker guide
2
3 ## Test/Development
4
5 You can quickly get a server running using Docker. You need to have [docker](https://www.docker.com/community-edition) and [docker-compose](https://docs.docker.com/compose/install/) installed.
6
7 For this example configuration, you should also run a reverse proxy. The example
8 Docker Compose file provides example labels for the Traefik load balancer,
9 though any HTTP reverse proxy is compatible.
10
11 Example for running a peertube server locally:
12
13 ```bash
14 sudo \
15 PEERTUBE_HOSTNAME=peertube.lvh.me \
16 PEERTUBE_ADMIN_EMAIL=test@example.com \
17 PEERTUBE_TRANSCODING_ENABLED=true \
18 docker-compose up app
19 ```
20
21 (Get the initial root user password from the program output.)
22
23 ## Production
24
25 PR welcome!