diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/docker.md | 4 | ||||
-rw-r--r-- | support/docker/production/docker-compose.yml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md index e0c03a1dc..093d7124e 100644 --- a/support/doc/docker.md +++ b/support/doc/docker.md | |||
@@ -22,7 +22,7 @@ production, you can use a `docker-compose` setup. | |||
22 | 22 | ||
23 | ```bash | 23 | ```bash |
24 | $ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube | 24 | $ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube |
25 | $ cd /tmp/peertube/support/docker/production | 25 | $ cd /tmp/peertube |
26 | ``` | 26 | ``` |
27 | 27 | ||
28 | Then tweak the `docker-compose.yml` file there according to your needs. Then | 28 | Then tweak the `docker-compose.yml` file there according to your needs. Then |
@@ -37,7 +37,7 @@ $ PEERTUBE_HOSTNAME=peertube.lvh.me \ | |||
37 | PEERTUBE_SMTP_HOST=mail.lvh.me \ | 37 | PEERTUBE_SMTP_HOST=mail.lvh.me \ |
38 | PEERTUBE_SMTP_PORT=1025 \ | 38 | PEERTUBE_SMTP_PORT=1025 \ |
39 | PEERTUBE_SMTP_FROM=noreply@peertube.lvh.me \ | 39 | PEERTUBE_SMTP_FROM=noreply@peertube.lvh.me \ |
40 | docker-compose up | 40 | docker-compose -f support/docker/production/docker-compose.yml --project-directory . up |
41 | ``` | 41 | ``` |
42 | 42 | ||
43 | Other environment variables are used in | 43 | Other environment variables are used in |
diff --git a/support/docker/production/docker-compose.yml b/support/docker/production/docker-compose.yml index ac0a3543b..a7bac47c2 100644 --- a/support/docker/production/docker-compose.yml +++ b/support/docker/production/docker-compose.yml | |||
@@ -5,7 +5,7 @@ services: | |||
5 | peertube: | 5 | peertube: |
6 | build: | 6 | build: |
7 | context: . | 7 | context: . |
8 | dockerfile: ./Dockerfile.stretch | 8 | dockerfile: ./support/docker/production/Dockerfile.stretch |
9 | image: chocobozzz/peertube:production-stretch | 9 | image: chocobozzz/peertube:production-stretch |
10 | environment: | 10 | environment: |
11 | PEERTUBE_HOSTNAME: my.domain.tld | 11 | PEERTUBE_HOSTNAME: my.domain.tld |