delete unused files
This commit is contained in:
parent
da1b3a7475
commit
0f7b5f97a8
9 changed files with 0 additions and 103 deletions
|
|
@ -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=
|
||||
|
||||
|
|
@ -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;"
|
||||
Loading…
Add table
Add a link
Reference in a new issue