Skip to content

testcab/docker-frp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

testcab/frpc

testcab/frps

The docker image for frp, based on official images fatedier/frpc and fatedier/frps, with added support for reading config from environment variable FRP_CONFIG_CONTENT.

The config file for frp is located at /app/frpc.ini or /app/frps.ini. You can bind mount it or use environment variable FRP_CONFIG_CONTENT to specify its content.

Run

frpc

docker run --rm testcab/frpc -e FRP_CONFIG_CONTENT="$(cat /etc/frp/frpc.ini)"
kubectl run frpc --image testcab/frpc --env FRP_CONFIG_CONTENT="$(cat /etc/frp/frpc.ini)"

frps

docker run --rm testcab/frps -e FRP_CONFIG_CONTENT="$(cat /etc/frp/frps.ini)"
kubectl run frps --image testcab/frps --env FRP_CONFIG_CONTENT="$(cat /etc/frp/frps.ini)"

Envirionment Variables

Env Default Description
FRP_CONFIG_CONTENT (unset) The content of frpc.ini or frps.ini.

LICENSE

frp is licensed under Apache License 2.0.

This repository is licensed under Apache License 2.0 as well.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages