Mise à jour de 'librephotos.sh'

This commit is contained in:
thomas 2021-03-01 02:12:31 +00:00
parent 16f1ed36ef
commit 36f7d60500
1 changed files with 7 additions and 7 deletions

View File

@ -3,9 +3,9 @@
# -DEBIAN 11
#
# - Postgres database
# CREATE USER librephoto WITH PASSWORD 'bovCevIrwomNeOgceshteudhekCubyosogvoanFaSokyodvonIgEnOyRabZypVam';
# CREATE DATABASE "librephoto" WITH OWNER "librephoto" ENCODING 'UTF8' LC_COLLATE = 'fr_FR.UTF-8' LC_CTYPE = 'fr_FR.UTF-8' TEMPLATE template0;
# GRANT ALL privileges ON DATABASE librephoto TO librephoto;
# CREATE USER librephotos WITH PASSWORD 'pg_password';
# CREATE DATABASE "librephoto" WITH OWNER "librephotos" ENCODING 'UTF8' LC_COLLATE = 'fr_FR.UTF-8' LC_CTYPE = 'fr_FR.UTF-8' TEMPLATE template0;
# GRANT ALL privileges ON DATABASE librephotos TO librephotos;
set -ex
apt install --no-install-recommends -y \
@ -51,9 +51,9 @@ export PYTHONUNBUFFERED=TRUE
export PYTHONUNBUFFERED=TRUE
export BACKEND_HOST=localhost
export DB_BACKEND=postgresql
export DB_NAME=librephoto
export DB_USER=librephoto
export DB_PASS=bovCevIrwomNeOgceshteudhekCubyosogvoanFaSokyodvonIgEnOyRabZypVam
export DB_NAME=librephotos
export DB_USER=librephotos
export DB_PASS=pg_password
export DB_HOST=postgres.net.lgy.fr
export DB_PORT=5432
#redis local ou redis distant
@ -64,7 +64,7 @@ export REDIS_HOST=redis.net.lgy.fr
export REDIS_PASS=
export REDIS_PORT=6379
export TIME_ZONE=Europe/Paris
export SECRET_KEY=gimagsebwawsIajsegItByevDehivatdijTubAmtyecDanBiongIsOphtEekhyd
export SECRET_KEY=SecretKeyToBeDefined
export ADMIN_USERNAME=thomas
export ADMIN_EMAIL=thomas@lgy.fr
export ADMIN_PASSWORD=toto