Merge branch 'main' of https://git.alfacom.it/marco/VigilanzaTurni
This commit is contained in:
commit
fe0a3e382e
@ -43,12 +43,19 @@ systemctl enable pm2-root
|
|||||||
|
|
||||||
# =================== POSTGRESQL ===================
|
# =================== POSTGRESQL ===================
|
||||||
log_info "Installazione PostgreSQL 15..."
|
log_info "Installazione PostgreSQL 15..."
|
||||||
|
<<<<<<< HEAD
|
||||||
dnf install -y postgresql15-server postgresql15
|
dnf install -y postgresql15-server postgresql15
|
||||||
|
|
||||||
# Inizializza database
|
# Inizializza database
|
||||||
postgresql-setup --initdb
|
postgresql-setup --initdb
|
||||||
systemctl enable postgresql
|
systemctl enable postgresql
|
||||||
systemctl start postgresql
|
systemctl start postgresql
|
||||||
|
=======
|
||||||
|
dnf install -y postgresql15-server postgresql15-contrib
|
||||||
|
postgresql-15-setup --initdb
|
||||||
|
systemctl enable postgresql-15
|
||||||
|
systemctl start postgresql-15
|
||||||
|
>>>>>>> 94bec4cfd683fe846be466cbfba0a57786d95c2a
|
||||||
|
|
||||||
# Genera password sicura PostgreSQL (o usa variabile ambiente)
|
# Genera password sicura PostgreSQL (o usa variabile ambiente)
|
||||||
if [ -z "$DB_PASSWORD" ]; then
|
if [ -z "$DB_PASSWORD" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user