mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-01 02:56:04 +01:00
fix: copying .env and set default values for docker img
This commit is contained in:
@@ -7,4 +7,7 @@ npm-debug.log
|
|||||||
.github
|
.github
|
||||||
LICENSE
|
LICENSE
|
||||||
docs/
|
docs/
|
||||||
*.sqlite
|
*.sqlite
|
||||||
|
*.env
|
||||||
|
.env
|
||||||
|
.next/standalone/.env
|
||||||
@@ -24,6 +24,8 @@ RUN yarn global add prisma
|
|||||||
# Expose the default application port
|
# Expose the default application port
|
||||||
EXPOSE 7575
|
EXPOSE 7575
|
||||||
|
|
||||||
|
ENV DATABASE_URL "file:../database/db.sqlite"
|
||||||
|
ENV NEXTAUTH_URL "http://localhost:3000"
|
||||||
ENV PORT 7575
|
ENV PORT 7575
|
||||||
ENV NEXTAUTH_SECRET NOT_IN_USE_BECAUSE_JWTS_ARE_UNUSED
|
ENV NEXTAUTH_SECRET NOT_IN_USE_BECAUSE_JWTS_ARE_UNUSED
|
||||||
|
|
||||||
|
|||||||
@@ -22,8 +22,8 @@
|
|||||||
"test:ui": "vitest --ui",
|
"test:ui": "vitest --ui",
|
||||||
"test:run": "vitest run",
|
"test:run": "vitest run",
|
||||||
"test:coverage": "vitest run --coverage",
|
"test:coverage": "vitest run --coverage",
|
||||||
"docker:build": "turbo build && docker build . -t homarr:dev",
|
"docker:build": "turbo build && docker build . -t homarr:local-dev",
|
||||||
"docker:start": "docker run -p 7575:7575 homarr:dev ",
|
"docker:start": "docker run -p 7575:7575 --name homarr-development homarr:local-dev",
|
||||||
"postinstall": "prisma generate"
|
"postinstall": "prisma generate"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user