You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Advanced Configuration/External Database.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ PostgreSQL is currently the only supported variant, others will be added on requ
18
18
You can configure the new `Datasource` property in your `settings.yml` to connect to your external database:
19
19
20
20
> #### ⚠️ Note
21
-
> _To use the external database feature, you will need to have a valid enterprise license and set the environment variable `DOCKER_ENABLE_SECURITY` to `true`._
21
+
> _To use the external database feature, you will need to have a valid enterprise license and set the environment variable `DISABLE_ADDITIONAL_FEATURES` to `false`._
- `depends_on`: This specifies any services that your app will need in order to run. Ensure the name matches the container name for your database
90
-
- `DOCKER_ENABLE_SECURITY`: Set this to `true` to enable security features
90
+
- `DISABLE_ADDITIONAL_FEATURES`: Set this to `false` to enable security features
91
91
- `SYSTEM_DATASOURCE_ENABLECUSTOMDATABASE`: An environment variable to connect to the database container. Set this to `true` to enable use of the external database
92
92
- `SYSTEM_DATASOURCE_CUSTOMDATABASEURL`: An environment variable to connect to the database container. Set the connection url for the database here. **Note: If you set this url you do not need to set the type, hostName, port and name (namely `SYSTEM_DATASOURCE_TYPE`, `SYSTEM_DATASOURCE_HOSTNAME`, `SYSTEM_DATASOURCE_PORT`, `SYSTEM_DATASOURCE_NAME`), they will all be automatically derived from the url.**
93
93
- `SYSTEM_DATASOURCE_USERNAME`: An environment variable to connect to the database container. Set the username for the database. Ensure this matches the corresponding property in your database container
Copy file name to clipboardExpand all lines: docs/Advanced Configuration/System and Security.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ import TabItem from '@theme/TabItem';
6
6
7
7
# Login, System and Security
8
8
9
-
Stirling PDF allows customization of system and security settings. For security features to be enabled, you must use the security jar. For Docker users, this means setting `DOCKER_ENABLE_SECURITY` to `true` via an environment variable.
9
+
Stirling PDF allows customization of system and security settings. For security features to be enabled, you must use the security jar. For Docker users, this means setting `DISABLE_ADDITIONAL_FEATURES` to `false` via an environment variable.
10
10
11
11
## Basic Security Settings
12
12
@@ -19,7 +19,7 @@ Stirling PDF allows customization of system and security settings. For security
19
19
20
20
### Prerequisites
21
21
1. Ensure the `/configs` directory is mounted as a volume in Docker for persistence across updates
22
-
2. For Docker users: Set `DOCKER_ENABLE_SECURITY=true` in environment variables
22
+
2. For Docker users: Set `DISABLE_ADDITIONAL_FEATURES=false` in environment variables
23
23
3. Enable login either via `settings.yml` or set `SECURITY_ENABLELOGIN=true`
Copy file name to clipboardExpand all lines: docs/Advanced Configuration/UI Customisation.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,29 +50,29 @@ To override a file:
50
50
3. Create the same file path under your `customFiles` directory following the same directory structure
51
51
4. Paste and modify the contents as needed
52
52
53
-
Note: When overriding templates, first copy the existing template from the [source repository](https://github.com/Stirling-Tools/Stirling-PDF/tree/main/src/main/resources/templates) to maintain the base structure.
53
+
Note: When overriding templates, first copy the existing template from the [source repository](https://github.com/Stirling-Tools/Stirling-PDF/tree/main/stirling-pdf/src/main/resources/templates) to maintain the base structure.
54
54
55
55
1. To replace the favicon:
56
56
```
57
57
customFiles/static/favicon.svg
58
58
```
59
-
Original file: [src/main/resources/static/favicon.svg](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/src/main/resources/static/favicon.svg)
59
+
Original file: [stirling-pdf/src/main/resources/static/favicon.svg](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/stirling-pdf/src/main/resources/static/favicon.svg)
60
60
61
61
2. To override a Bootstrap icon font:
62
62
```
63
63
customFiles/static/css/fonts/bootstrap-icons.woff
64
64
```
65
-
Original file: [src/main/resources/static/css/fonts/bootstrap-icons.woff](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/src/main/resources/static/css/fonts/bootstrap-icons.woff)
65
+
Original file: [stirling-pdf/src/main/resources/static/css/fonts/bootstrap-icons.woff](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/stirling-pdf/src/main/resources/static/css/fonts/bootstrap-icons.woff)
66
66
67
67
3. To modify a template:
68
68
```
69
69
customFiles/templates/fragments/common.html
70
70
```
71
-
Original file: [src/main/resources/templates/fragments/common.html](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/src/main/resources/templates/fragments/common.html)
71
+
Original file: [stirling-pdf/src/main/resources/templates/fragments/common.html](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/stirling-pdf/src/main/resources/templates/fragments/common.html)
72
72
73
73
The original files can be found in the GitHub repository under:
@@ -119,23 +133,33 @@ Install the following software:
119
133
</Tabs>
120
134
121
135
### Step 4: Grab latest Stirling-PDF Jar
122
-
The JAR can be downloaded in two versions, [normal](https://files.stirlingpdf.com/Stirling-PDF.jar) and [security](https://files.stirlingpdf.com/Stirling-PDF-with-login.jar)
136
+
137
+
The JAR can be downloaded in two versions, [normal](https://files.stirlingpdf.com/Stirling-PDF.jar) and [security](https://files.stirlingpdf.com/Stirling-PDF-with-login.jar)
123
138
124
139
### Step 5: Move jar to desired location
140
+
125
141
You can move this file to a desired location, for example, `/opt/Stirling-PDF/`.
126
142
You must also move the Script folder within the Stirling-PDF repo that you have downloaded to this directory.
127
143
This folder is required for the python scripts using OpenCV.
Since libreoffice, soffice, and conversion tools have their dbus_tmp_dir set as `dbus_tmp_dir="/run/user/$(id -u)/libreoffice-dbus"`, you might get the following error:
Since libreoffice, soffice, and conversion tools have their dbus_tmp_dir set as `dbus_tmp_dir="/run/user/$(id -u)/libreoffice-dbus"`, you get the following error:
0 commit comments