Guilhem Saurel 834e1c75d3 variables d’environnement fixes dans les docker-compose, fix #70 il y a 6 ans
..
README.md 834e1c75d3 variables d’environnement fixes dans les docker-compose, fix #70 il y a 6 ans
docker-compose.yml 834e1c75d3 variables d’environnement fixes dans les docker-compose, fix #70 il y a 6 ans

README.md

Peertube

https://framagit.org/chocobozzz/PeerTube

Configure

:warning: You must use a working SMTP server :warning:

export DB_PASSWORD=$(openssl rand -base64 32)
echo POSTGRES_PASSWORD=$DB_PASSWORD >> .env
echo PEERTUBE_DB_PASSWORD=$DB_PASSWORD >> .env
echo PEERTUBE_SMTP_PASSWORD=null >> .env
echo PEERTUBE_SMTP_HOSTNAME=null >> .env
echo PEERTUBE_SMTP_PORT=465 >> .env
echo PEERTUBE_SMTP_TLS=true >> .env
echo PEERTUBE_SMTP_USERNAME=${CHATONS_SERVICE:-peertube}@${CHATONS_DOMAIN:-localhost} >> .env
echo PEERTUBE_SMTP_FROM=${CHATONS_SERVICE:-peertube}@${CHATONS_DOMAIN:-localhost} >> .env
echo PEERTUBE_ADMIN_EMAIL=${CHATONS_SERVICE:-peertube}@${CHATONS_DOMAIN:-localhost} >> .env

If you want to use HTTPS, you will have to add:

echo PEERTUBE_WEBSERVER_HTTPS=true >> .env
echo PEERTUBE_WEBSERVER_PORT=443 >> .env

Deploy

docker-compose up -d

Get root's password

docker-compose logs | grep password

Alternatively, you can set root's password:

docker-compose exec app npm run reset-password -- -u root