Merge branch 'feature/add-basic-authentication' of https://github.com/ajnart/homarr into feature/add-basic-authentication
This commit is contained in:
@@ -14,8 +14,12 @@ COPY package.json ./package.json
|
|||||||
COPY .next/standalone ./
|
COPY .next/standalone ./
|
||||||
COPY .next/static ./.next/static
|
COPY .next/static ./.next/static
|
||||||
|
|
||||||
|
COPY ./scripts/run.sh ./scripts/run.sh
|
||||||
|
|
||||||
EXPOSE 7575
|
EXPOSE 7575
|
||||||
|
|
||||||
ENV PORT 7575
|
ENV PORT 7575
|
||||||
|
ENV NEXTAUTH_SECRET NOT_IN_USE_BECAUSE_JWTS_ARE_UNUSED
|
||||||
|
ENV NEXTAUTH_URL_INTERNAL http://homarr:7575
|
||||||
|
|
||||||
CMD ["node", "server.js"]
|
CMD ["sh", "./scripts/run.sh"]
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "NEXTAUTH_SECRET=WILL_BE_OVERWRITTEN next build",
|
||||||
"analyze": "ANALYZE=true next build",
|
"analyze": "ANALYZE=true next build",
|
||||||
"turbo": "turbo run build",
|
"turbo": "turbo run build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
generator client {
|
generator client {
|
||||||
provider = "prisma-client-js"
|
provider = "prisma-client-js"
|
||||||
|
binaryTargets = ["native", "linux-musl-openssl-3.0.x"]
|
||||||
}
|
}
|
||||||
|
|
||||||
datasource db {
|
datasource db {
|
||||||
|
|||||||
4
scripts/run.sh
Normal file
4
scripts/run.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export NEXTAUTH_URL_INTERNAL="http://$HOSTNAME:7575"
|
||||||
|
node /app/server.js
|
||||||
Reference in New Issue
Block a user