An open API service indexing awesome lists of open source software.

https://github.com/gera2ld/frp-docker


https://github.com/gera2ld/frp-docker

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# frp

This is an unofficial build for frp.

## Build

```bash
$ docker build -t frp .
```

## Usage

Create a `docker-compose.yml` for server:

```yaml
version: "3.7"

services:
frp:
image: gera2ld/frp:latest
restart: unless-stopped
ports:
- "7000:7000"
- "7000:7000/udp"
- "7001:7001"
volumes:
- ./data/frps.toml:/etc/frps.toml
command: frps -c /etc/frps.toml
```

Create a `docker-compose.yml` for client:

```yaml
version: "3.7"

services:
frp:
image: gera2ld/frp:latest
restart: unless-stopped
volumes:
- ./data/frpc.toml:/etc/frpc.toml
command: frpc -c /etc/frpc.toml
```