Skip to content

Commit

Permalink
update tsdproxy.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidapaulopt committed Nov 30, 2024
1 parent 0ba9e2c commit cda925e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 24 deletions.
2 changes: 1 addition & 1 deletion config/tsdproxy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defaultproxyprovider: default
#ProxyAccessLog: true # set to true to enable container access log
Hostname: 127.0.0.1

#Log:
# JSON: false # set to true to enable json logging
Expand Down
44 changes: 21 additions & 23 deletions dev/tsdproxy.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
#ProxyAccessLog: true # set to true to enable container access log
#Hostname: 127.0.0.1

Log:
JSON: false # set to true to enable json logging
Level: debug # set logging level

Tailscale:
# DataDir: /data/
DataDir: ./dev/data/
Providers:
Default: # name of the provider
# Authkey: "12" # define authkey here
#
# AuthkeyFile: "./run/secrets/authkey"
AuthkeyFile: "./dev/KEY_FILE" # use this to load authkey from file. If this is defined, Authkey is ignored
# ControlURL: "" # use this to override the default control URL

Docker:
Local: # name of the docker provider
# Host: "unix:///var/run/docker.sock" # host of the docker socket or daemon
#TargetHostname: "172.31.0.1" # hostname or IP of docker server
DefaultProxyProvider: Default # name of which proxy provider to use
defaultproxyprovider: default
docker:
local: # name of the docker provider
host: unix:///var/run/docker.sock # host of the docker socket or daemon
targethostname: 172.31.0.1 # hostname or IP of docker server
defaultproxyprovider: default # name of which proxy provider to use
file: {}
tailscale:
providers:
default: # name of the provider
authkey: your-authkey # define authkey here
authkeyfile: "/run/secrets/authkey" # use this to load authkey from file. If this is defined, Authkey is ignored
controlurl: https://controlplane.tailscale.com # use this to override the default control URL
datadir: /data/
http:
hostname: 0.0.0.0
port: 8080
log:
level: info # set logging level info, error or trace
json: false # set to true to enable json logging
proxyaccesslog: true # set to true to enable container access log

0 comments on commit cda925e

Please sign in to comment.