Skip to content

Commit

Permalink
fix: copying .env and set default values for docker img
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rw committed Sep 3, 2023
1 parent 1958b70 commit 35db402
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ npm-debug.log
.github
LICENSE
docs/
*.sqlite
*.sqlite
*.env
.env
.next/standalone/.env
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 35db402

Please sign in to comment.