05050801e65c9a898ca10896afd42a503d20fc18
[oweals/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 wget https://framagit.org/chocobozzz/PeerTube/raw/develop/support/docker/production/docker-compose.yml
15 sudo \
16   PEERTUBE_HOSTNAME=peertube.lvh.me \
17   PEERTUBE_ADMIN_EMAIL=test@example.com \
18   PEERTUBE_TRANSCODING_ENABLED=true \
19   docker-compose up app
20 ```
21
22 (Get the initial root user password from the program output.)
23
24 ## Production
25
26 PR welcome!