aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/docker.md
blob: 8ae77902fd5f16626d826d944ad32050e8593fc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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.

Example for running a peertube server locally:

```bash
sudo \
  PEERTUBE_HOSTNAME=peertube.lvh.me \
  PEERTUBE_ADMIN_EMAIL=test@example.com \
  PEERTUBE_TRANSCODING_ENABLED=true \
  docker-compose up app
```

(Get the initial root user password from the program output.)

## Production

PR welcome!