diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 1f3005159..12430c475 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index d1b1d4b11..7c445764d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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