@@ -14,7 +14,7 @@ Before you begin, make sure you have Docker installed on your server. See the [o
14
14
If you use Ubuntu, you can install Docker with the commands below:
15
15
16
16
<details >
17
- <summary >Click to see docker installation code </summary >
17
+ <summary >Click to see Ubuntu docker installation commands </summary >
18
18
19
19
``` shell
20
20
# Add Docker's official GPG key:
@@ -53,7 +53,11 @@ Next, open the docker-compose.yml file. On Linux, you can use vim:
53
53
vi docker-compose.yml
54
54
```
55
55
56
- The downloaded ` docker-compose.yml ` file should contain the template below with default environment variables:
56
+ The downloaded ` docker-compose.yml ` file should contain the template below with default environment variables.
57
+
58
+ ::: info
59
+ ` APP_URL ` is optional, but useful for correct email links.
60
+ :::
57
61
58
62
``` yaml title="docmost/docker-compose.yml"
59
63
version : " 3"
@@ -101,15 +105,16 @@ volumes:
101
105
102
106
You are to replace the default environment variables in the ` docker-compose.yml` file.
103
107
104
- The `APP_URL` should be replaced with your chosen domain. E.g. `APP_URL : ' https://example.com' ` or ` APP_URL: ' https://docmost.example.com' `.
108
+ The `APP_URL` should be replaced with your chosen domain. E.g. `https://example.com` or `https://docmost.example.com`.
105
109
106
- The `APP_SECRET` value should be replaced with a long random secret key. You can generate the secret with `openssl rand -hex 32`.
110
+ The `APP_SECRET` value must be replaced with a long random secret key.
111
+ You can generate the secret with `openssl rand -hex 32`. If you leave the default value, the app will fail to start.
107
112
108
113
Replace `STRONG_DB_PASSWORD` in the `POSTGRES_PASSWORD` environment variable with a secure password.
109
114
110
115
Update the `DATABASE_URL` default `STRONG_DB_PASSWORD` value with your chosen Postgres password.
111
116
112
- To configure Emails or File storage driver, see the [Configuration](./self-hosting/configuration) doc.
117
+ To configure Emails or File storage driver, see the [Configuration](./self-hosting/configuration) doc.
113
118
The default File storage driver is `local storage`. You don't have to do anything unless you wish to use S3 storage.
114
119
115
120
# ## Start the Services
0 commit comments