-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdocker-compose.env.example
More file actions
37 lines (30 loc) · 1.08 KB
/
docker-compose.env.example
File metadata and controls
37 lines (30 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copy this file to `.env` before running `docker compose up -d`.
#
# Generate production secrets with:
# openssl rand -hex 32
# openssl rand -base64 32
DORY_IMAGE=dorylab/dory:latest
DORY_HTTP_PORT=3000
POSTGRES_DB=dory
POSTGRES_USER=dory
POSTGRES_PASSWORD=replace-with-a-long-random-password
POSTGRES_MAX_CONNECTIONS=10
BETTER_AUTH_URL=http://localhost:3000
TRUSTED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
BETTER_AUTH_SECRET=replace-with-openssl-rand-hex-32
DS_SECRET_KEY=replace-with-openssl-rand-base64-32
NEXT_PUBLIC_REQUIRE_EMAIL_VERIFICATION=false
# Optional first administrator account. Change both values before deploying.
DORY_INIT_USER_EMAIL=admin@getdory.dev
DORY_INIT_USER_PASSWORD=replace-with-a-strong-password
# Optional AI provider settings. Leave the key empty to disable AI features.
DORY_AI_PROVIDER=openai
DORY_AI_MODEL=gpt-4o-mini
DORY_AI_API_KEY=
DORY_AI_URL=https://api.openai.com/v1
# Optional email provider settings for email verification and invitations.
RESEND_API_KEY=
EMAIL_FROM=
# Optional GitHub OAuth login.
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=