Skip to content

Commit 0d0160f

Browse files
committed
improve docker
1 parent 235415f commit 0d0160f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pages/docs/self-host.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ Deploy the container to your infrastructure. You can use a managed service like
2626

2727
```bash copy
2828
docker run \
29-
--env DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres \
29+
--env DATABASE_URL=postgresql://postgres:postgres@host.docker.internal:5432/postgres \
3030
--env NEXTAUTH_SECRET=mysecret \
3131
--env NEXTAUTH_URL=http:localhost:3030 \
32-
-dp 3030:3000 langfuse
32+
-p 3030:3000 \
33+
-a STDOUT langfuse
3334
```
3435

3536
## Update the application

0 commit comments

Comments
 (0)