mirror of
https://github.com/WilliamPeterMatthew/sslocal-manager-alpine.git
synced 2026-02-27 09:53:28 +08:00
update ssserver-manager
This commit is contained in:
@@ -7,7 +7,7 @@ A webpage to manage ss-local
|
||||
|
||||
Build via Docker Compose, using the Python Flask framework.
|
||||
|
||||
> There is a solution to deploy ssserver-rust and ss-manager to the local machine at the same time, located in the branch [proxy_local](https://github.com/WilliamPeterMatthew/sslocal-manager-alpine/tree/proxy_local)
|
||||
> There is a solution to deploy local and server to the local machine at the same time, located in the branch [proxy_local](https://github.com/WilliamPeterMatthew/sslocal-manager-alpine/tree/proxy_local)
|
||||
|
||||
## Step 1
|
||||
Clone this repo.
|
||||
@@ -16,7 +16,7 @@ git clone https://github.com/WilliamPeterMatthew/sslocal-manager-alpine.git
|
||||
```
|
||||
|
||||
## Step 2
|
||||
Modify `.ssconfig.json` file like this.
|
||||
Modify `manager.local.ssconfig.json` file like this.
|
||||
```
|
||||
{
|
||||
"server": "ss.example.com",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
ss-manager:
|
||||
sslocal-manager-rust:
|
||||
image: petermatthew/sslocal-manager:latest-alpine
|
||||
container_name: ss-manager
|
||||
container_name: sslocal-manager-rust
|
||||
restart: always
|
||||
volumes:
|
||||
- ./.ssconfig.json:/.ssconfig.json:ro
|
||||
- ./manager.local.ssconfig.json:/.ssconfig.json:ro
|
||||
ports:
|
||||
- "1080:1080/udp" # ss-local 代理端口
|
||||
- "1080:1080/tcp" # ss-local 代理端口
|
||||
|
||||
+3
-3
@@ -1,12 +1,12 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
ss-manager:
|
||||
sslocal-manager-rust:
|
||||
build: .
|
||||
container_name: ss-manager
|
||||
container_name: sslocal-manager-rust
|
||||
restart: always
|
||||
volumes:
|
||||
- ./.ssconfig.json:/.ssconfig.json:ro
|
||||
- ./manager.local.ssconfig.json:/.ssconfig.json:ro
|
||||
ports:
|
||||
- "1080:1080/udp" # ss-local 代理端口
|
||||
- "1080:1080/tcp" # ss-local 代理端口
|
||||
|
||||
Reference in New Issue
Block a user