PeerTube/support/doc/docker.md

27 lines
847 B
Markdown
Raw Normal View History

2018-01-29 04:23:38 -06:00
# Docker guide
## Test/Development
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.
For this example configuration, you should also run a reverse proxy. The example
Docker Compose file provides example labels for the Traefik load balancer,
though any HTTP reverse proxy is compatible.
2018-03-11 03:57:25 -05:00
Example for running a PeerTube server locally:
2018-01-29 04:23:38 -06:00
```bash
2018-03-11 03:57:25 -05:00
$ wget https://github.com/chocobozzz/PeerTube/raw/develop/support/docker/production/docker-compose.yml
$ sudo \
PEERTUBE_HOSTNAME=peertube.lvh.me \
PEERTUBE_ADMIN_EMAIL=test@example.com \
PEERTUBE_TRANSCODING_ENABLED=true \
docker-compose up app
2018-01-29 04:23:38 -06:00
```
(Get the initial root user password from the program output.)
## Production
PR welcome!