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