mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-24 00:36:17 -04:00
Merge pull request #45 from xstar97/docs-fix
docs(ghcr) add deployment notes for ghcr
This commit is contained in:
commit
5bff933b6e
1 changed files with 12 additions and 4 deletions
|
@ -1,14 +1,22 @@
|
||||||
# Deployment Notes
|
# Deployment Notes
|
||||||
The easiest way to get PairDrop up and running is by using Docker.
|
The easiest way to get PairDrop up and running is by using Docker.
|
||||||
|
|
||||||
## Deployment with Docker from Docker Hub
|
## Deployment with Docker
|
||||||
|
> You must use a server proxy to set the X-Forwarded-For to prevent all clients from discovering each other (See [#HTTP-Server](#http-server)).
|
||||||
|
>
|
||||||
|
> To prevent bypassing the proxy and reach the docker container directly, `127.0.0.1` is specified in the run command.
|
||||||
|
|
||||||
|
### Image from Docker Hub
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -d --restart=unless-stopped --name=pairdrop -p 127.0.0.1:3000:3000 lscr.io/linuxserver/pairdrop
|
docker run -d --restart=unless-stopped --name=pairdrop -p 127.0.0.1:3000:3000 lscr.io/linuxserver/pairdrop
|
||||||
```
|
```
|
||||||
> You must use a server proxy to set the X-Forwarded-For to prevent all clients from discovering each other (See [#HTTP-Server](#http-server)).
|
|
||||||
>
|
### Image from GHCR
|
||||||
> To prevent bypassing the proxy and reach the docker container directly, `127.0.0.1` is specified in the run command.
|
|
||||||
|
```bash
|
||||||
|
docker run -d --restart=unless-stopped --name=pairdrop -p 127.0.0.1:3000:3000 ghcr.io/schlagmichdoch/pairdrop
|
||||||
|
```
|
||||||
|
|
||||||
### Options / Flags
|
### Options / Flags
|
||||||
Set options by using the following flags in the `docker run` command:
|
Set options by using the following flags in the `docker run` command:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue