Skip to content

Commit

Permalink
Merge pull request #14 from getAlby/fix/postgres-self-signed-cert
Browse files Browse the repository at this point in the history
fix: postgres self signed ca-certificate
  • Loading branch information
im-adithya authored Dec 12, 2024
2 parents 69c7209 + 3492bc5 commit dd180a4
Show file tree
Hide file tree
Showing 4 changed files with 283 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ EXPOSE 8080
WORKDIR /app

COPY . .
RUN touch /app/ca-certificate.crt

USER deno

Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"db:generate": "deno run -A --node-modules-dir npm:drizzle-kit generate",
"db:generate:key": "deno run ./src/db/generateKey.ts",
"dev": "deno run --env --allow-net --allow-env --allow-read --allow-write --watch src/main.ts",
"start": "deno run --allow-net --allow-env --allow-read --allow-write src/main.ts",
"start": "deno run --allow-net --allow-env --allow-read --allow-write --cert ./ca-certificate.crt src/main.ts",
"test": "deno test --env --allow-env"
},
"compilerOptions": {
Expand Down
Loading

0 comments on commit dd180a4

Please sign in to comment.