mirror of https://github.com/fatedier/frp
update docker file with default config file
parent
f9065a6a78
commit
8b72f20923
|
@ -0,0 +1,11 @@
|
|||
serverAddr = "127.0.0.1"
|
||||
serverPort = 7000
|
||||
|
||||
includes = ["/etc/frp/conf.d/*.toml"]
|
||||
|
||||
[[proxies]]
|
||||
name = "test-tcp"
|
||||
type = "tcp"
|
||||
localIP = "127.0.0.1"
|
||||
localPort = 22
|
||||
remotePort = 6000
|
|
@ -0,0 +1,3 @@
|
|||
bindPort = 7000
|
||||
|
||||
includes = ["/etc/frp/conf.d/*.toml"]
|
|
@ -11,4 +11,8 @@ RUN apk add --no-cache tzdata
|
|||
|
||||
COPY --from=building /building/bin/frpc /usr/bin/frpc
|
||||
|
||||
ENTRYPOINT ["/usr/bin/frpc"]
|
||||
RUN mkdir -p /etc/frp/conf.d/
|
||||
|
||||
COPY conf/frpc_docker.toml /etc/frp/frpc.toml
|
||||
|
||||
ENTRYPOINT ["/usr/bin/frpc", "-c", "/etc/frp/frpc.toml"]
|
||||
|
|
|
@ -11,4 +11,8 @@ RUN apk add --no-cache tzdata
|
|||
|
||||
COPY --from=building /building/bin/frps /usr/bin/frps
|
||||
|
||||
ENTRYPOINT ["/usr/bin/frps"]
|
||||
RUN mkdir -p /etc/frp/conf.d/
|
||||
|
||||
COPY conf/frps_docker.toml /etc/frp/frps.toml
|
||||
|
||||
ENTRYPOINT ["/usr/bin/frps", "-c", "/etc/frp/frps.toml"]
|
||||
|
|
Loading…
Reference in New Issue