diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-29 11:23:38 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-29 11:23:38 +0100 |
commit | 4df6a1b8e1ec98355667cb872511d27035bfaf5a (patch) | |
tree | 5fc9c52b2f65f7de3844c8c9599aa9d9fb51ad5c /support/doc/docker.md | |
parent | 2fe8692797ec8da890a6f954e6c850abc0dbf7e4 (diff) | |
download | PeerTube-4df6a1b8e1ec98355667cb872511d27035bfaf5a.tar.gz PeerTube-4df6a1b8e1ec98355667cb872511d27035bfaf5a.tar.zst PeerTube-4df6a1b8e1ec98355667cb872511d27035bfaf5a.zip |
Move docker do in support/doc
Diffstat (limited to 'support/doc/docker.md')
-rw-r--r-- | support/doc/docker.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md new file mode 100644 index 000000000..8ae77902f --- /dev/null +++ b/support/doc/docker.md | |||
@@ -0,0 +1,25 @@ | |||
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! | ||