Adapt docker image file path in docker-compose.yml

pull/545/head
Florent Fayolle 2018-04-30 17:26:07 +02:00 committed by Chocobozzz
parent 6a478b1165
commit 4b431d519c
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ production, you can use a `docker-compose` setup.
```bash ```bash
$ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube $ 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 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_HOST=mail.lvh.me \
PEERTUBE_SMTP_PORT=1025 \ PEERTUBE_SMTP_PORT=1025 \
PEERTUBE_SMTP_FROM=noreply@peertube.lvh.me \ 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 Other environment variables are used in

View File

@ -5,7 +5,7 @@ services:
peertube: peertube:
build: build:
context: . context: .
dockerfile: ./Dockerfile.stretch dockerfile: ./support/docker/production/Dockerfile.stretch
image: chocobozzz/peertube:production-stretch image: chocobozzz/peertube:production-stretch
environment: environment:
PEERTUBE_HOSTNAME: my.domain.tld PEERTUBE_HOSTNAME: my.domain.tld