Skip to content

Commit

Permalink
[main-fix] Localhost connections are now supported from the notebooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
damik3 committed Feb 9, 2024
1 parent 7d095a4 commit d7265f0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ services:
jupyter:
build: jupyter
ports:
- "8888:8888"
- "8888:8888"
extra_hosts:
- "host.docker.internal:host-gateway"
10 changes: 9 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Change this part
build: jupyter
ports:
- "8888:8888"
extra_hosts:
- "host.docker.internal:host-gateway"
```

to this:
Expand All @@ -39,8 +41,14 @@ to this:
build: jupyter
ports:
- "8888:8888"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- /path/to/custom/input/files:/home/jovyan/files
```

Your files should be located in a known location on your machine (referred to as `/path/to/custom/input/files`). These files will be accessible within your BDE under the path files (for example, `files/my.custom.file`).
Your files should be located in a known location on your machine (referred to as `/path/to/custom/input/files`). These files will be accessible within your BDE under the path files (for example, `files/my.custom.file`).

## Connecting to a database on localhost

Use `host.docker.internal` instead of `localhost`.

0 comments on commit d7265f0

Please sign in to comment.