mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Doc: Add instructions for Docker on Linux (#5864)
This commit is contained in:
parent
3a6380fa92
commit
79a930597d
@ -44,7 +44,7 @@ POSTGRES_PORT=5432
|
|||||||
POSTGRES_HOST=localhost
|
POSTGRES_HOST=localhost
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure that the provided database and user exist as the server will not create them.
|
Make sure that the provided database and user exist as the server will not create them. When running on macOS or Windows through Docker Desktop, a mapping of localhost is made automatically. On Linux, you can add `--net=host --add-host=host.docker.internal:127.0.0.1` to the `docker run` command line to make the mapping happen. Any other `POSTGRES_HOST` than localhost or 127.0.0.1 should work as expected without further action.
|
||||||
|
|
||||||
### Using docker-compose
|
### Using docker-compose
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user