mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-20 04:59:25 +02:00
update frp
This commit is contained in:
parent
3f3f5b0f6c
commit
4628dafe96
@ -70,6 +70,7 @@ A collection of delicious docker recipes.
|
||||
- [x] casperjs :+1:
|
||||
- [x] collectd
|
||||
- [x] freeradius
|
||||
- [x] frp :cn:
|
||||
- [x] graphite
|
||||
- [x] h2o
|
||||
- [x] httpbin :+1:
|
||||
|
@ -1,4 +1,4 @@
|
||||
frp:
|
||||
frps:
|
||||
image: vimagick/frp
|
||||
ports:
|
||||
- "7000:7000/tcp"
|
||||
|
10
frp/systemd/frpc.service
Normal file
10
frp/systemd/frpc.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=frp client
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/frpc -c /etc/frp/frpc.ini
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
10
frp/systemd/frps.service
Normal file
10
frp/systemd/frps.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=frp server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/frps -c /etc/frp/frps.ini
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user