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
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
| `type` \(required\) | Determines the data storage location | "global", "local" or "custom" |
197
+
| | **global**: Data storage location is located at `/etc/stackhead/projects/[project_name]/container_data/global/` | |
198
+
| | **local**: Data storage location is located at `/etc/stackhead/projects/[project_name]/container_data/services/[service_name]/` | |
199
+
| | **custom**: No data storage location. You have to set it yourself using the _src_ setting below \(absolute path!\). | |
200
200
| `src` \(required for type=custom\) | Relative path inside data storage location that should be mounted. Note: When type=custom this is has to be an absolute path! | any string |
201
-
| `dest` | Absolute path inside the Docker container where the mount should be applied | any string |
202
-
| `mode` | Defines if the volume should be read-write \(rw\) or readonly \(ro\) | "rw" \(default\) or "ro" |
201
+
| `dest` | Absolute path inside the Docker container where the mount should be applied | any string |
202
+
| `mode` | Defines if the volume should be read-write \(rw\) or readonly \(ro\) | "rw" \(default\) or "ro" |
203
203
204
204
Below you can see a comparison of the project definition \(left\) and the equivalent docker-compose definition:
Copy file name to clipboardExpand all lines: Documentation/technical-documentation/ssl-certificates.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ The figure above shows the organisation of SSL certificates and how they are use
10
10
11
11
The **snakeoil certificate** is created during server setup. It is a selfsigned certificate that technically expires after 100 years after creation, i.e. never. \(If it really expires simply run the server setup again.\)
12
12
13
-
The certificate and corresponding private key is stored inside the `/stackhead/certificates` directory.
13
+
The certificate and corresponding private key is stored inside the `/etc/stackhead/certificates` directory.
14
14
15
15
Freshly generated Nginx configurations will have a certificate paths that are symlinked to these snakeoil files, enabling Nginx to start.
16
16
17
17
## Project certificates
18
18
19
-
Project certificates are generated after the Nginx server configuration is written and active. They are stored inside the `certificates` folder of the project directory \(i.e. `/stackhead/projects/<project_name>/certificates`\).
19
+
Project certificates are generated after the Nginx server configuration is written and active. They are stored inside the `certificates` folder of the project directory \(i.e. `/etc/stackhead/projects/<project_name>/certificates`\).
20
20
21
21
After creation, the symlinked path to the certificate used by Nginx is switched to the generated certificate \(and private key\) and the Nginx configuration is reloaded.
0 commit comments