mirror of https://github.com/Chocobozzz/PeerTube
Adapt docker image file path in docker-compose.yml
parent
6a478b1165
commit
4b431d519c
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue