1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00

update frp

This commit is contained in:
kev 2017-11-02 20:22:53 +08:00
parent 3f3f5b0f6c
commit 4628dafe96
4 changed files with 22 additions and 1 deletions

@ -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

@ -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

@ -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