File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,24 @@ Create an `.env` file with the following:
5454DATABASE_URL=connection-url
5555```
5656
57+ If you are running Umami v3 or newer you must also set the encryption key required by Next.js Server Actions:
58+
59+ ``` bash
60+ NEXT_SERVER_ACTIONS_ENCRYPTION_KEY=your-64-character-hex-string
61+ ```
62+
5763The connection URL format:
5864
5965``` bash
6066postgresql://username:mypassword@localhost:5432/mydb
6167```
6268
69+ You can generate a secure 64-character hex encryption key (32 random bytes) with:
70+
71+ ``` bash
72+ openssl rand -hex 32
73+ ```
74+
6375### Build the Application
6476
6577``` bash
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ services:
88 DATABASE_URL : postgresql://umami:umami@db:5432/umami
99 DATABASE_TYPE : postgresql
1010 APP_SECRET : replace-me-with-a-random-string
11+ NEXT_SERVER_ACTIONS_ENCRYPTION_KEY : replace-me-with-a-64-character-hex-string
1112 depends_on :
1213 db :
1314 condition : service_healthy
You can’t perform that action at this time.
0 commit comments