vps
This commit is contained in:
parent
8e045307bb
commit
c1ee4639e6
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
||||||
|
|
||||||
|
chmod +x /usr/local/bin/docker-compose
|
||||||
|
|
||||||
|
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
|
|
@ -0,0 +1,17 @@
|
||||||
|
version: "2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: lihaixin/brook
|
||||||
|
environment:
|
||||||
|
- "RATE=100mbit"
|
||||||
|
# change the password to the password you want
|
||||||
|
- "password=hahaha666"
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
# Change the first part of this to the port you want clients to connect to
|
||||||
|
- "3389:61089"
|
||||||
|
- "3389:61089/udp"
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
docker-compose pull
|
||||||
|
docker-compose up -d
|
Loading…
Reference in New Issue