aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorFlorent Fayolle <florent.fayolle69@gmail.com>2018-04-30 17:26:07 +0200
committerChocobozzz <me@florianbigard.com>2018-05-07 09:22:18 +0200
commit4b431d519c6fb0feadb1339dfddcc889b9d33cfe (patch)
tree3e6358219046f09435caa86f576049b07a1e3d7d /support
parent6a478b11651a5e764337b3e4c02dba83c919a50a (diff)
downloadPeerTube-4b431d519c6fb0feadb1339dfddcc889b9d33cfe.tar.gz
PeerTube-4b431d519c6fb0feadb1339dfddcc889b9d33cfe.tar.zst
PeerTube-4b431d519c6fb0feadb1339dfddcc889b9d33cfe.zip
Adapt docker image file path in docker-compose.yml
Diffstat (limited to 'support')
-rw-r--r--support/doc/docker.md4
-rw-r--r--support/docker/production/docker-compose.yml2
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
28Then tweak the `docker-compose.yml` file there according to your needs. Then 28Then 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
43Other environment variables are used in 43Other 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