Skip to content

Commit

Permalink
chore(docker-compose): update DATABASE_URL to SQLite format
Browse files Browse the repository at this point in the history
  • Loading branch information
bludnic committed Jul 25, 2024
1 parent c3a2107 commit a75f8dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
context: .
dockerfile: pro.Dockerfile
args:
DATABASE_URL: file:../../../dev.db
DATABASE_URL: file:/opentrader/data/dev.db
NEXT_PUBLIC_PROCESSOR_URL: http://localhost:5000
NEXT_PUBLIC_PROCESSOR_ENABLE_TRPC: "true"
NEXT_PUBLIC_STATIC: "true"
Expand All @@ -33,7 +33,7 @@ services:
ports:
- "4000:4000"
environment:
DATABASE_URL: postgresql://postgres:postgres@database:5432/postgres
DATABASE_URL: file:/opentrader/data/dev.db
NEXT_PUBLIC_PROCESSOR_URL: http://localhost:4000
NEXT_PUBLIC_PROCESSOR_ENABLE_TRPC: "true"
ADMIN_PASSWORD: opentrader
Expand All @@ -44,15 +44,15 @@ services:
context: .
dockerfile: apps/frontend/Dockerfile
args:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
DATABASE_URL: file:/opentrader/data/dev.db
NEXT_PUBLIC_PROCESSOR_URL: http://localhost:4000
NEXT_PUBLIC_PROCESSOR_ENABLE_TRPC: "true"
ADMIN_PASSWORD: opentrader
network: host
ports:
- "3000:3000"
environment:
DATABASE_URL: postgresql://postgres:postgres@database:5432/postgres
DATABASE_URL: file:/opentrader/data/dev.db
NEXT_PUBLIC_PROCESSOR_URL: http://localhost:4000
NEXT_PUBLIC_PROCESSOR_ENABLE_TRPC: "true"
ADMIN_PASSWORD: opentrader
Expand Down

0 comments on commit a75f8dd

Please sign in to comment.