Fixes as per testing

This commit is contained in:
trovier 2024-03-25 14:35:29 +01:00
parent 0c26495a59
commit ee24567ef9
3 changed files with 13 additions and 7 deletions

View File

@ -39,10 +39,10 @@
<li><b>DB_TYPE</b>: damengdb</li>
<li><b>DB_HOST</b>: Name (dns name) of the database service in compose file</li>
<li><b>DB_USER</b>: Username</li>
<li><b>DB_NAME</b></li>
<li><b>DB_NAME</b>: Database name</li>
<li><b>DB_PORT</b>: Service port with database</li>
</ul>
<p>Mount the binary directory from the damengdb container so that the document server container has access to the <b>disql</b> utility. Please refer to the <a href="https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/feature/damengdb-compose/tests/damengdb/docker-compose.yml#L33" target="_blank">docker-compose.yml</a> to learn more.</p>
<p>Mount the binary directory from the damengdb container so that the document server container has access to the <b>disql</b> utility. Please refer to the <a href="https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/feature/damengdb-compose/tests/damengdb/docker-compose.yml" target="_blank">docker-compose.yml</a> to learn more.</p>
<h2>Running a stand</h2>
<p>To start the stand, execute the following commands:</p>
<ol>

View File

@ -59,7 +59,7 @@ nano /etc/onlyoffice/documentserver/local.json
"dbUser": "sa",
"dbPass": "onlYoff1ce"
...
# supervisorctl restart all
supervisorctl restart all
</code></pre>
</li>
</ol>

View File

@ -28,18 +28,24 @@
</li>
<li>
Install Oracle on the same or a separate server:
<pre><code>docker run --name oracle -p 8080:1521 -p 8081:5500 \
<pre><code>sudo docker run --name oracle -p 8080:1521 -p 8081:5500 \
-e ORACLE_PASSWORD=admin \
-e APP_USER=onlyoffice \
-e APP_USER_PASSWORD=onlyoffice \
-d gvenzl/oracle-xe:21-slim
</code></pre>
</li>
<li>
Download a script for creating tables and copy it to the container; afterwards, create a database and run the script:
<pre><code>wget https://github.com/ONLYOFFICE/server/raw/master/schema/oracle/createdb.sql
docker cp ./createdb.sql oracle:/
docker exec oracle sqlplus -s onlyoffice/onlyoffice@//localhost/xepdb1 @/createdb.sql
sudo docker cp ./createdb.sql oracle:/
sudo docker exec oracle sqlplus -s onlyoffice/onlyoffice@//localhost/xepdb1 @/createdb.sql
</code></pre>
</li>
<li>
@ -56,7 +62,7 @@ nano /etc/onlyoffice/documentserver/local.json
"dbUser": "onlyoffice",
"dbPass": "onlyoffice"
...
supervisorctl restart all
supervisorctl restart all
</code></pre>
</li>
</ol>