Skip to content

Commit

Permalink
fix docker compose for dev backend by adding env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyangzheng committed Feb 5, 2025
1 parent e250d90 commit 18031e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/server/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ services:
DATABASE_URL: postgres://user:pass@postgres:5432/db
NODE_ENV: development
PORT: 8080
JWT_SECRET: process.env.JWT_SECRET
JWT_REFRESH_SECRET: process.env.JWT_REFRESH_SECRET
POSTMARK_SERVER_KEY: process.env.POSTMARK_SERVER_KEY
ports:
- '8080:8080'
command: node dist/src/main.js
Expand Down

0 comments on commit 18031e9

Please sign in to comment.