Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Adapt docker image file path in docker-compose.yml

Florent Fayolle4b431d519c6f
diff --git a/support/doc/docker.md b/support/doc/docker.md
index e0c03a1dc2..093d7124ed 100644
--- a/support/doc/docker.md
+++ b/support/doc/docker.md
@@ -22,7 +22,7 @@ production, you can use a `docker-compose` setup.
```bash
$ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube
-$ cd /tmp/peertube/support/docker/production
+$ cd /tmp/peertube
```
Then tweak the `docker-compose.yml` file there according to your needs. Then
@@ -37,7 +37,7 @@ $ PEERTUBE_HOSTNAME=peertube.lvh.me \
PEERTUBE_SMTP_HOST=mail.lvh.me \
PEERTUBE_SMTP_PORT=1025 \
- docker-compose up
+ docker-compose -f support/docker/production/docker-compose.yml --project-directory . up
```
Other environment variables are used in
diff --git a/support/docker/production/docker-compose.yml b/support/docker/production/docker-compose.yml
index ac0a3543b6..a7bac47c29 100644
--- a/support/docker/production/docker-compose.yml
+++ b/support/docker/production/docker-compose.yml
@@ -5,7 +5,7 @@ services:
peertube:
build:
context: .
- dockerfile: ./Dockerfile.stretch
+ dockerfile: ./support/docker/production/Dockerfile.stretch
image: chocobozzz/peertube:production-stretch
environment:
PEERTUBE_HOSTNAME: my.domain.tld