# Frps

## 下载配置

1. 创建一些文件夹

    ```bash
    mkdir -p /opt/docker/frps/data/ssl && cd /opt/docker/frps
    ```

2. 下载 docker-compose.yml

    ```bash
    curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/frps/docker-compose.yml > docker-compose.yml
    ```

3. 下载配置

    ```bash
    curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/frps/frps.toml > data/frps.toml
    ```

## docker-compose 部署

1. 修改配置

    ```bash
    vim data/frps.toml
    ```

2. 启动

    ```bash
    docker-compose up -d
    ```
