Skip to content

Commit

Permalink
add logs to compose
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7d8 committed Nov 30, 2024
1 parent 0adf1a4 commit 5aafafd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DATABASE_URL="postgresql://blueprint_api:local@db:5432/blueprint_api"
PORT=8000
INTERNAL_KEY="HKj5LZnavEfjqYDTEUi" # random string, if leaked change ASAP

LOG_LEVEL="debug"
LOG_DIRECTORY="../../logs"
LOG_LEVEL="info"
LOG_DIRECTORY="/app/logs"

APP_URL="http://localhost:8000"
APP_URL="http://localhost:50000"
1 change: 1 addition & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
restart: unless-stopped
volumes:
- ./.env:/app/server/.env
- ./logs:/app/logs
depends_on:
- db
ports:
Expand Down

0 comments on commit 5aafafd

Please sign in to comment.