]>
Commit | Line | Data |
---|---|---|
4df6a1b8 C |
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 | ||
fec2ffc4 | 11 | Example for running a PeerTube server locally: |
4df6a1b8 C |
12 | |
13 | ```bash | |
fec2ffc4 C |
14 | $ wget https://github.com/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 | |
4df6a1b8 C |
20 | ``` |
21 | ||
22 | (Get the initial root user password from the program output.) | |
23 | ||
24 | ## Production | |
25 | ||
26 | PR welcome! |