Skip to content

Commit

Permalink
fix: add new env-vars to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanHjelsethStorstad committed Oct 26, 2023
1 parent d42e427 commit 99e50b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ services:
- ./package-lock.json:/usr/src/app/package-lock.json
- ./src/prisma/schema.prisma:/usr/src/app/src/prisma/schema.prisma
environment:
NODE_ENV: development
DB_URI: ${DB_URI}
GOOGLE_MAPS_API_KEY: ${GOOGLE_MAPS_API_KEY}
NODE_ENV: development
NEXTAUTH_URL: ${NEXTAUTH_URL}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
NEXT_TELEMETRY_DISABLED: ${NEXT_TELEMETRY_DISABLED}
depends_on:
- db
- prisma
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ services:
ports:
- 3000:3000
environment:
NODE_ENV: production
DB_URI: ${DB_URI}
GOOGLE_MAPS_API_KEY: ${GOOGLE_MAPS_API_KEY}
NODE_ENV: production
NEXTAUTH_URL: ${NEXTAUTH_URL}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
NEXT_TELEMETRY_DISABLED: ${NEXT_TELEMETRY_DISABLED}
depends_on:
- db
- prisma
Expand Down

0 comments on commit 99e50b5

Please sign in to comment.