From 36f7d60500f1977928246830f2902706ab590b7c Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 1 Mar 2021 02:12:31 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'librephotos.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- librephotos.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/librephotos.sh b/librephotos.sh index 881f5e1..cc4dee3 100644 --- a/librephotos.sh +++ b/librephotos.sh @@ -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