delete unused files

This commit is contained in:
rnsrk 2025-04-22 23:30:54 +02:00
parent da1b3a7475
commit 0f7b5f97a8
9 changed files with 0 additions and 103 deletions

View file

@ -1,8 +0,0 @@
ONLYOFFICE_JWT_SECRET=
ONLYOFFICE_DB_HOST=postgres
ONLYOFFICE_DB_NAME=
ONLYOFFICE_DB_PASSWORD=
ONLYOFFICE_DB_PORT=5432
ONLYOFFICE_DB_TYPE=postgres
ONLYOFFICE_DB_USER=

View file

@ -1,8 +0,0 @@
#!/bin/bash
source .env
source ../core/.env
docker exec postgres psql -U $POSTGRES_USER -d postgres -c "CREATE USER $ONLYOFFICE_DB_USER WITH PASSWORD '$ONLYOFFICE_DB_PASSWORD';"
docker exec postgres psql -U $POSTGRES_USER -d postgres -c "CREATE DATABASE $ONLYOFFICE_DB_NAME OWNER $ONLYOFFICE_DB_USER;"
docker exec postgres psql -U $POSTGRES_USER -d $ONLYOFFICE_DB_NAME -c "GRANT ALL PRIVILEGES ON DATABASE $ONLYOFFICE_DB_NAME TO $ONLYOFFICE_DB_USER;"