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. ```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 \ PEERTUBE_SMTP_FROM=noreply@peertube.lvh.me \ - 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 ac0a3543b..a7bac47c2 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