Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit 49d1056

Browse files
authored
feat: unify env variable names (#12)
1 parent 105f81d commit 49d1056

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DATABASE_URL=postgres://username:password@127.0.0.1:5432/database
1+
DB_URL=postgres://username:password@127.0.0.1:5432/database
22
JWT_SECRET=your-secret-key
33
FFMPEG_PATH=/usr/local/bin/ffmpeg
44
FFPROBE_PATH=/usr/local/bin/ffprobe

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ services:
77
volumes:
88
- ./uploads:/app/uploads
99
environment:
10-
- DATABASE_URL=${DATABASE_URL}
11-
- JWT_SECRET=${JWT_SECRET}
10+
- NUXT_DB_URL=${DB_URL}
11+
- NUXT_JWT_SECRET=${JWT_SECRET}
1212
- FFMPEG_PATH=/usr/bin/ffmpeg
1313
- FFPROBE_PATH=/usr/bin/ffprobe
1414
extra_hosts:

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default defineNuxtConfig({
3131
},
3232
},
3333
runtimeConfig: {
34-
dbUrl: process.env.DATABASE_URL,
34+
dbUrl: process.env.DB_URL,
3535
jwtSecret: process.env.JWT_SECRET,
3636
ffmpegPath: process.env.FFMPEG_PATH,
3737
ffprobePath: process.env.FFPROBE_PATH,

0 commit comments

Comments
 (0)